bundle everything

This commit is contained in:
2018-12-27 17:23:51 -08:00
parent c4704a920b
commit 869e448dd3
6 changed files with 24 additions and 27 deletions

View File

@@ -30,13 +30,4 @@ module.exports = {
{ enforce: "pre", test: /\.js$/, loader: "source-map-loader" }
]
},
// When importing a module whose path matches one of the following, just
// assume a corresponding global variable exists and use that instead.
// This is important because it allows us to avoid bundling all of our
// dependencies, which allows browsers to cache those libraries between builds.
externals: {
"react": "React",
"react-dom": "ReactDOM"
}
};