1.0.0 • Published 6 years ago
jane-stylus v1.0.0
作用
- 提供sass编译的能力
安装
- npm install --save jane-stylus
使用
module.exports = {
dest:'build',
tpl:{
page:'' // must be directory
},
css: {
ext:'.styl',
compiler: require('jane-stylus'),
config:{}
},
js: {
ext:'.js',
compiler: 'babel',
// https://babeljs.io/docs/usage/api/
config: {
presets:['env'],
plugins: ["transform-node-env-inline"]
}
},
ignore:['node_modules','dist','.DB_store','.DS_Store']
}
1.0.0
6 years ago