06.
Applying a Minification Filter
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
Whoops, an error! Please, try again later.
4 Comments
To get this wo work in Windows environment I had to add
node: null
to the uglifycss settings in config.yml
Well, there is not jsrewrite filter. What would be the equivalent for javascripts?
Hey Daniel!
Ideally, you shouldn't have the same problem in JS: JS files normally don't refer to other JS files or CSS paths. What's your situation?
Ryan, my mistake. Your're absolutely right! There is no need of a 'jsrewrite' filter or sort. With the uglifyjs is enough, I only want one compress js file on my production environment. Thanks.
"Houston: no signs of life"
Start the conversation!