File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,34 @@ your JavaScripts:
112112
113113You now have access to the ``uglifyjs2 `` filter in your application.
114114
115+ Configure the ``node binary ``
116+ ----------------------------------
117+
118+ he name of the binary is node you can skip this section.
119+
120+ .. configuration-block ::
121+
122+ .. code-block :: yaml
123+
124+ # app/config/config.yml
125+ assetic :
126+ # the path to the node executable
127+ node : /usr/bin/nodejs
128+
129+ .. code-block :: xml
130+
131+ <!-- app/config/config.xml -->
132+ <assetic : config
133+ node =" /usr/bin/nodejs" >
134+ </assetic : config >
135+
136+ .. code-block :: php
137+
138+ // app/config/config.php
139+ $container->loadFromExtension('assetic', array(
140+ 'node' => '/usr/bin/nodejs',
141+ ));
142+
115143 Minify your Assets
116144------------------
117145
You can’t perform that action at this time.
0 commit comments