Skip to content

Commit e2cf45c

Browse files
kallard1javiereguiluz
authored andcommitted
Update typescript.rst
`configFileName` was renamed in `configFile`
1 parent 974ebd5 commit e2cf45c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/encore/typescript.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ also configure the `ts-loader options`_ via a callback:
2828
2929
.enableTypeScriptLoader(function (typeScriptConfigOptions) {
3030
typeScriptConfigOptions.transpileOnly = true;
31-
typeScriptConfigOptions.configFileName = '/path/to/tsconfig.json';
31+
typeScriptConfigOptions.configFile = '/path/to/tsconfig.json';
3232
});
3333
3434
If React assets are enabled (``.enableReactPreset()``), any ``.tsx`` file will be

0 commit comments

Comments
 (0)