Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
baseWebpackConfig.entry.client
]
// add dev plugins
baseWebpackConfig.plugins.push(
new WriteFilePlugin(),
new webpack.HotModuleReplacementPlugin(),
new AutoDllPlugin({
debug: true,
filename,
entry: {
vendor,
polyfills
}
}),
new FriendlyErrorsPlugin({
verbose: true,
target: 'web',
onSuccessMessage: `Your application is running at http://${HOST}:${PORT}`
})
)
baseWebpackConfig.devServer = {
disableHostCheck: true,
clientLogLevel: 'none',
// Enable gzip compression of generated files.
compress: true,
// watchContentBase: true,
headers: {
'Access-Control-Allow-Origin': '*'
},
historyApiFallback: {