Guest User

Untitled

a guest
Sep 12th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Use Node.js as standalone LESS-compiler in project?
  2. node compiler.js build.js
  3.  
  4. ({
  5. baseURL : "../assets",
  6. mainConfigFile : "../assets/main.js",
  7. name : "../assets/main",
  8. out : "../assets/main.optmin.js",
  9. optimize : "uglify"
  10. })
  11.  
  12. node path/to/less/bin/lessc -x -O2 path/to/assets/main.less > path/to/output.css
Add Comment
Please, Sign In to add comment