@@ -28,13 +28,13 @@ The global installation method makes all your projects use the very same UglifyJ
2828version, which simplifies its maintenance. Open your command console and execute
2929the following command (you may need to run it as a root user):
3030
31- .. code-block :: bash
31+ .. code-block :: terminal
3232
3333 $ npm install -g uglify-js
3434
3535 Now you can execute the global ``uglifyjs `` command anywhere on your system:
3636
37- .. code-block :: bash
37+ .. code-block :: terminal
3838
3939 $ uglifyjs --help
4040
@@ -45,7 +45,7 @@ It's also possible to install UglifyJS inside your project only, which is useful
4545when your project requires a specific UglifyJS version. To do this, install it
4646without the ``-g `` option and specify the path where to put the module:
4747
48- .. code-block :: bash
48+ .. code-block :: terminal
4949
5050 $ cd /path/to/your/symfony/project
5151 $ npm install uglify-js --prefix app/Resources
@@ -57,7 +57,7 @@ an npm `package.json`_ file and specify your dependencies there.
5757Now you can execute the ``uglifyjs `` command that lives in the ``node_modules ``
5858directory:
5959
60- .. code-block :: bash
60+ .. code-block :: terminal
6161
6262 $ "./app/Resources/node_modules/.bin/uglifyjs" --help
6363
@@ -115,7 +115,7 @@ your JavaScripts:
115115 The path where UglifyJS is installed may vary depending on your system.
116116 To find out where npm stores the ``bin `` folder, execute the following command:
117117
118- .. code-block :: bash
118+ .. code-block :: terminal
119119
120120 $ npm bin -g
121121
@@ -251,7 +251,7 @@ Install, Configure and Use UglifyCSS
251251The usage of UglifyCSS works the same way as UglifyJS. First, make sure
252252the node package is installed:
253253
254- .. code-block :: bash
254+ .. code-block :: terminal
255255
256256 # global installation
257257 $ npm install -g uglifycss
0 commit comments