Skip to content

Instantly share code, notes, and snippets.

@boyney123
Created November 20, 2017 08:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boyney123/76e0a6ddb455c011e92562ea7978f43b to your computer and use it in GitHub Desktop.
Save boyney123/76e0a6ddb455c011e92562ea7978f43b to your computer and use it in GitHub Desktop.
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const DynamicCdnWebpackPlugin = require('dynamic-cdn-webpack-plugin');
module.exports = {
entry: {
'app.js': './src/app.js'
},
output: {
path.resolve(__dirname, './build'),
},
plugins: [
new HtmlWebpackPlugin(),
new DynamicCdnWebpackPlugin()
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment