web: exploring other dev environment options.

This commit is contained in:
2019-04-12 05:56:58 -05:00
parent 80c33c85c3
commit 125ffd1017
4 changed files with 48 additions and 4 deletions

View File

@@ -3,6 +3,19 @@ module.exports = {
proxy: {
'/api': { target: 'http://localhost:8081' }
},
host: 'localhost',
disableHostCheck: true
},
// disable Hot Reloading (kills devtools performance and crashes the tab).
// chainWebpack: config => {
// config.plugins.delete("hmr");
// },
pluginOptions: {
webpackBundleAnalyzer: {
analyzerMode: 'static',
openAnalyzer: false
}
}
};