@@ -26,13 +26,13 @@ The global installation method makes all your projects use the very same UglifyJ
2626version, which simplifies its maintenance. Open your command console and execute
2727the following command (you may need to run it as a root user):
2828
29- .. code-block :: bash
29+ .. code-block :: terminal
3030
3131 $ npm install -g uglify-js
3232
3333 Now you can execute the global ``uglifyjs `` command anywhere on your system:
3434
35- .. code-block :: bash
35+ .. code-block :: terminal
3636
3737 $ uglifyjs --help
3838
@@ -43,7 +43,7 @@ It's also possible to install UglifyJS inside your project only, which is useful
4343when your project requires a specific UglifyJS version. To do this, install it
4444without the ``-g `` option and specify the path where to put the module:
4545
46- .. code-block :: bash
46+ .. code-block :: terminal
4747
4848 $ cd /path/to/your/symfony/project
4949 $ npm install uglify-js --prefix app/Resources
@@ -55,7 +55,7 @@ an npm `package.json`_ file and specify your dependencies there.
5555Now you can execute the ``uglifyjs `` command that lives in the ``node_modules ``
5656directory:
5757
58- .. code-block :: bash
58+ .. code-block :: terminal
5959
6060 $ "./app/Resources/node_modules/.bin/uglifyjs" --help
6161
@@ -113,7 +113,7 @@ your JavaScripts:
113113 The path where UglifyJS is installed may vary depending on your system.
114114 To find out where npm stores the ``bin `` folder, execute the following command:
115115
116- .. code-block :: bash
116+ .. code-block :: terminal
117117
118118 $ npm bin -g
119119
@@ -249,7 +249,7 @@ Install, Configure and Use UglifyCSS
249249The usage of UglifyCSS works the same way as UglifyJS. First, make sure
250250the node package is installed:
251251
252- .. code-block :: bash
252+ .. code-block :: terminal
253253
254254 # global installation
255255 $ npm install -g uglifycss
0 commit comments