jane-stylus

1.0.0 • Public • Published

作用

  • 提供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']
}

Readme

Keywords

none

Package Sidebar

Install

npm i jane-stylus

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.11 kB

Total Files

4

Last publish

Collaborators

  • linhun