weapp-plugin-require

0.3.6 • Public • Published

weapp-plugin-require

分析 js 文件的 npm 依赖,进行拷贝

安装

npm i weapp-plugin-require -D

使用

weapp.config.js

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

Package Sidebar

Install

npm i weapp-plugin-require

Weekly Downloads

1

Version

0.3.6

License

MIT

Unpacked Size

25.1 kB

Total Files

7

Last publish

Collaborators

  • bzone