Skip to content

Commit a4dd5e4

Browse files
iammichieljaviereguiluz
authored andcommitted
Adding a sample tsconfig file to the Encore documentation page
1 parent d579851 commit a4dd5e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/encore/typescript.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,14 @@ Encore, you're done!
2626

2727
Any ``.ts`` files that you require will be processed correctly. You can
2828
also configure the `ts-loader options`_ via the ``enableTypeScriptLoader()``
29-
method. See the `Encore's index.js file`_ for detailed documentation.
29+
method. See the `Encore's index.js file`_ for detailed documentation and check
30+
out the `tsconfig.json reference`_ and the `Webpack guide about Typescript`_.
3031

3132
If React is enabled (``.enableReactPreset()``), any ``.tsx`` file will also be
3233
processed by ``ts-loader``.
3334

3435
.. _`TypeScript`: https://www.typescriptlang.org/
3536
.. _`ts-loader options`: https://github.com/TypeStrong/ts-loader#options
3637
.. _`Encore's index.js file`: https://github.com/symfony/webpack-encore/blob/master/index.js
38+
.. _`tsconfig.json reference`: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
39+
.. _`Webpack guide about Typescript`: https://webpack.js.org/guides/typescript/

0 commit comments

Comments
 (0)