weapp-plugin-less

0.3.5 • Public • Published

weapp-plugin-less

默认编译后缀名为 .wxss 的 less 语法文件

@import url(...) 绝对路径是从 src 目录开始查找的

安装

npm i weapp-plugin-less -D

使用

weapp.config.js

module.exports = {
  plugins: [
    ['weapp-plugin-less', {
        ignore: undefined,
        match: /\.wxss$/,
        afterExt: '.wxss',
        ...config
    }]
    // 'weapp-plugin-less',
  ],
};

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i weapp-plugin-less

    Weekly Downloads

    1

    Version

    0.3.5

    License

    MIT

    Unpacked Size

    6.28 kB

    Total Files

    4

    Last publish

    Collaborators

    • bzone