Fix console warnings in notification content script (#2388)
(cherry picked from commit 8375d6ecbb
)
This commit is contained in:
parent
1e061868b6
commit
04fe9d1519
|
@ -105,7 +105,7 @@ const plugins = [
|
||||||
process: "process/browser",
|
process: "process/browser",
|
||||||
}),
|
}),
|
||||||
new webpack.SourceMapDevToolPlugin({
|
new webpack.SourceMapDevToolPlugin({
|
||||||
exclude: /content\/.*/,
|
exclude: [/content\/.*/, /notification\/.*/],
|
||||||
filename: "[file].map",
|
filename: "[file].map",
|
||||||
}),
|
}),
|
||||||
];
|
];
|
||||||
|
@ -129,7 +129,7 @@ const config = {
|
||||||
minimize: true,
|
minimize: true,
|
||||||
minimizer: [
|
minimizer: [
|
||||||
new TerserPlugin({
|
new TerserPlugin({
|
||||||
exclude: /content\/.*/,
|
exclude: [/content\/.*/, /notification\/.*/],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
|
|
Loading…
Reference in New Issue