@wxa/compiler-stylus

    2.2.7 • 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

    Install

    npm i @wxa/compiler-stylus

    DownloadsWeekly Downloads

    49

    Version

    2.2.7

    License

    MIT

    Unpacked Size

    8.45 kB

    Total Files

    8

    Last publish

    Collaborators

    • baoooooo
    • fanniehuang
    • genuifx
    • zehuiguan
    • lucaszhu