Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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