0.0.3 • Published 7 years ago

less-packer v0.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

less-packer

combine multiple less file to a bundle file and output for sass and stylus file

Install

npm install less-packer -S

Start

const LessPacker = require('less-packer')
LessPacker({
  entry: 'src/index.less',
  output: 'lib/index.less',
  format: ['sass', 'stylus'],
})

Attribute

nameintrotypedefault
entrybundle entry file pathstringsrc/index.less
outputbundle output file pathstringlib/index.less
devif use dev modebooleanfalse
testOutputtest output path while devstringdest/index.css
testFiletest entry path while devstringsrc/test.less
watchDirwatch dir while devstringsrc/
formatextra output file typearray[sass, stylus]
charsetcharset of filestringutf8

License

MIT