fix: github style username regex supported

This commit is contained in:
Nishchit Dhanani
2023-08-03 11:18:19 +05:30
parent ee18de8442
commit 05eeb3e9e0
2 changed files with 9 additions and 11 deletions

View File

@@ -1,13 +1,10 @@
const path = require('path');
const webpack = require('webpack');
const { merge } = require('webpack-merge');
const BundleAnalyzerPlugin =
require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
const base = require('./webpack.common');
const withReport = process.env.npm_config_withReport;
// const withReport = process.env.npm_config_withReport;
module.exports = merge(base, {
mode: 'development',
@@ -34,6 +31,6 @@ module.exports = merge(base, {
plugins: [
new webpack.HotModuleReplacementPlugin(),
new webpack.IgnorePlugin({ resourceRegExp: /[^/]+\/[\S]+.dev$/ }),
new BundleAnalyzerPlugin(),
// new BundleAnalyzerPlugin(),
],
});