File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,19 @@ Encore, you're done!
26
26
27
27
Any ``.ts `` files that you require will be processed correctly. You can
28
28
also configure the `ts-loader options `_ via the ``enableTypeScriptLoader() ``
29
- method. See the `Encore's index.js file `_ for detailed documentation and check
29
+ method.
30
+
31
+ .. code-block :: javascript
32
+
33
+ Encore
34
+ .enableTypeScriptLoader (function (tsConfig ) {
35
+ // You can use this callback function to adjust ts-loader settings
36
+ // https://github.com/TypeStrong/ts-loader/blob/master/README.md#loader-options
37
+ // For example:
38
+ // tsConfig.silent = false
39
+ })
40
+
41
+ See the `Encore's index.js file `_ for detailed documentation and check
30
42
out the `tsconfig.json reference `_ and the `Webpack guide about Typescript `_.
31
43
32
44
If React is enabled (``.enableReactPreset() ``), any ``.tsx `` file will also be
You can’t perform that action at this time.
0 commit comments