Tutorial by Examples

Note: The output.library and name (in DllPlugin) must be the same. const path = require('path'); const webpack = require('webpack'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const extractCSS = new ExtractTextPlugin('vendor.css'); const isDevelopment = process.env.NODE_E...
Note: manifest (in DllReferencePlugin) should reference path (defined in DllPlugin) const webpack = require('webpack'); const path = require('path'); const isDevelopment = process.env.NODE_ENV !== 'production'; const ExtractTextPlugin = require('extract-text-webpack-plugin'); const extractCSS...

Page 1 of 1