Created
November 20, 2017 08:11
-
-
Save boyney123/76e0a6ddb455c011e92562ea7978f43b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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