1.3.6 • Published 3 years ago

webpack-build-dll-plugin v1.3.6

Weekly downloads
90
License
MIT
Repository
github
Last release
3 years ago

npm MIT Licence TypeScript npm npm

Installation

Install the plugin with npm:

$ npm i webpack-build-dll-plugin -D

Basic Usage

var WebpackBuildDllPlugin = require('webpack-build-dll-plugin');
var webpackConfig = {
  entry: 'index.js',
  output: {
    path: 'dist',
    filename: 'index_bundle.js'
  },
  plugins: [
    // Add plugin BuildPlugin before your DllReference plugin.
    new WebpackBuildDllPlugin({
      // dllConfigPath: required, your Dll Config Path, support absolute path.
      dllConfigPath: './webpack.dll.config.js',
      // forceBuild: default is {false}, when dependencies change, will rebuild DllReference files
      // if {true} it will build DllReference in once upon starting Webpack.
      forceBuild: false
    }),
    new webpack.DllReferencePlugin({
      context: `./${outputPath}`,
      manifest: require(`./${outputPath}/${publicPath}/vendors-manifest${__DEV__ ? '.dev' : '.prod'}.json`)
    })
  ]
};
1.3.6

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

5 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.9

8 years ago

1.2.8

8 years ago

1.2.7

8 years ago

1.2.6

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.9

8 years ago

1.1.8

8 years ago

1.1.7

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago