@wxa/compiler-stylus

2.5.1 • Public • Published

wxa-compiler-stylus

stylus 编译器

Install

npm i -D @wxa/compiler-stylus

Usage

使用默认配置

// wxa.config.js
module.exports = {
    use: ['stylus'],
}

指定 stylus 配置

// wxa.config.js
module.exports = {
    use: [{
        name: 'stylus',
        test: /\.styl$|\.stylus$/,
        options: {}
    }],
}

stylus 相关配置请查看 stylus

/@wxa/compiler-stylus/

    Package Sidebar

    Install

    npm i @wxa/compiler-stylus

    Weekly Downloads

    12

    Version

    2.5.1

    License

    MIT

    Unpacked Size

    8.45 kB

    Total Files

    8

    Last publish

    Collaborators

    • genuifx
    • zehuiguan
    • lucaszhu
    • fanniehuang
    • baoooooo