Skip to content

Commit 3641425

Browse files
committed
minor symfony#9690 Incompatible ts-loader version (nicholasruunu)
This PR was submitted for the 4.0 branch but it was merged into the 3.4 branch instead (closes symfony#9690). Discussion ---------- Incompatible ts-loader version The ts-loader major version must map to the webpack major version: TypeStrong/ts-loader#748 Since symfony/encore depends on webpack 3, installing latest will produce the error above. Commits ------- 8f2d2f1 Incompatible ts-loader version
2 parents 74b6be1 + 8f2d2f1 commit 3641425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/encore/typescript.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Want to use `TypeScript`_? No problem! First, install the dependencies:
55

66
.. code-block:: terminal
77
8-
$ yarn add --dev typescript ts-loader
8+
  $ yarn add --dev typescript ts-loader@^3.0
99
1010
Then, activate the ``ts-loader`` in ``webpack.config.js``:
1111

0 commit comments

Comments
 (0)