autodll-window-webpack-plugin

1.0.4 • Public • Published

desc

将 autodll-webpack-plugin 打包进去的包都绑定到 window 对象上

usage

yarn add autodll-webpack-plugin -D
yarn add autodll-window-webpack-plugin -D
const AutoDllPlugin = require('autodll-webpack-plugin');
const AutoDllWindowWPlugin = require('autodll-window-webpack-plugin');

new AutoDllPlugin({
  inject: true,
  filename: '[name].js',
  path: './dll',
  debug: false,
  entry: {
    vendor: ['vue', 'vue-router', 'vuex'],
  },
  plugins: [new AutoDllWindowWPlugin()],
}),

Package Sidebar

Install

npm i autodll-window-webpack-plugin

Weekly Downloads

3

Version

1.0.4

License

MIT

Unpacked Size

2.62 kB

Total Files

3

Last publish

Collaborators

  • xiongxiaotao