File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ you need to `install node.js`_. Afterwards you can install UglifyJs using npm:
16
16
17
17
.. code-block :: bash
18
18
19
- $ npm install -g uglifyjs
19
+ $ npm install -g uglify-js@1
20
20
21
21
.. note ::
22
22
@@ -25,10 +25,16 @@ you need to `install node.js`_. Afterwards you can install UglifyJs using npm:
25
25
26
26
.. code-block :: bash
27
27
28
- $ npm install uglifyjs /path/to/symfony/app/Resources
28
+ $ npm install uglify-js@1 /path/to/symfony/app/Resources
29
29
30
30
It is recommended that you install UglifyJs in your ``app/Resources `` folder
31
31
and add the ``node_modules `` folder to version control.
32
+
33
+ .. tip ::
34
+
35
+ This cookbook uses UglifyJs 1 instead of the newer version 2 to be compatible
36
+ with old assetic versions. If you wantt to use UglifyJs version 2, make sure
37
+ to also use the assetic filter for this version and apply the correct configuration.
32
38
33
39
Configure the UglifyJs Filter
34
40
-----------------------------
You can’t perform that action at this time.
0 commit comments