Add entrypoint for vendor js file, add bootstrap js

- Now we have 2 entry files and 2 bundles
- The vendor file houses code that is less likely to change, 3rd party libraries
- The main file has all of our app code
This commit is contained in:
Colt Steele
2019-03-05 18:37:07 -08:00
parent 947290016d
commit 34e7d30aef
7 changed files with 59 additions and 3 deletions

@ -6,7 +6,7 @@ const CleanWebpackPlugin = require("clean-webpack-plugin");
module.exports = merge(common, {
mode: "production",
output: {
filename: "main.[contentHash].js",
filename: "[name].[contentHash].bundle.js",
path: path.resolve(__dirname, "dist")
},
plugins: [new CleanWebpackPlugin()]