get-variable-rules

0.1.0 • Public • Published

get-variable-rules

使用方式:

  //获取 less 中的所有变量
  const outFile = path.join(__dirname, './.temp/ant-design-pro.less');
  const stylesDir = path.join(__dirname, './node_modules/antd/lib/');

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

/get-variable-rules/

    Package Sidebar

    Install

    npm i get-variable-rules

    Weekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    5.7 kB

    Total Files

    8

    Last publish

    Collaborators

    • chenshuai2144