antd-merge-less

1.0.2 • Public • Published

antd-pro-merge-less

使用方式:

// 将所有 less 合并为一个供 themePlugin使用
  const outFile = path.join(__dirname, './.temp/react-antd-template.less');
  const stylesDir = path.join(__dirname, './src/');
  const projectName = 'react-antd-template'

  const mergeLessPlugin = new MergeLessPlugin({
    stylesDir,
    outFile,
    projectName
  });

Dependencies (8)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i antd-merge-less

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    11.2 kB

    Total Files

    10

    Last publish

    Collaborators

    • tian1024527726