daily pastebin goal
8%
SHARE
TWEET

Untitled

a guest Sep 12th, 2018 59 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top