added codebase, project rules and sec audit
This commit is contained in:
15
NearBeach/webpack.watch.js
Normal file
15
NearBeach/webpack.watch.js
Normal file
@@ -0,0 +1,15 @@
|
||||
const { merge } = require('webpack-merge');
|
||||
const common = require('./webpack.common.js');
|
||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
||||
|
||||
module.exports = merge(common, {
|
||||
mode: 'development',
|
||||
devtool: 'inline-source-map',
|
||||
devServer: {
|
||||
contentBase: './dist',
|
||||
},
|
||||
watch: true,
|
||||
plugins: [
|
||||
new BundleAnalyzerPlugin()
|
||||
]
|
||||
});
|
||||
Reference in New Issue
Block a user