File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,34 @@ your JavaScripts:
112
112
113
113
You now have access to the ``uglifyjs2 `` filter in your application.
114
114
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
+
115
143
Minify your Assets
116
144
------------------
117
145
You can’t perform that action at this time.
0 commit comments