8000 minor #10521 Adding a sample tsconfig file to the Encore documentatio… · symfony/symfony-docs@c6f402b · GitHub
[go: up one dir, main page]

Skip to content

Commit c6f402b

Browse files
committed
minor #10521 Adding a sample tsconfig file to the Encore documentation page (iammichiel)
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #10521). Discussion ---------- Adding a sample tsconfig file to the Encore documentation page <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug 8000 (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- a4dd5e4 Adding a sample tsconfig file to the Encore documentation page
2 parents d579851 + a4dd5e4 commit c6f402b

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)
0