Created
November 20, 2017 08:11
-
-
Save boyney123/be8de3cdd4aaa91d680c5e755ec179ab to your computer and use it in GitHub Desktop.
This file contains hidden or 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