Fix console warnings in notification content script (#2388)

(cherry picked from commit 8375d6ecbb)
This commit is contained in:
Oscar Hinton 2022-02-15 15:09:02 +01:00 committed by Matt Gibson
parent 1e061868b6
commit 04fe9d1519
1 changed files with 2 additions and 2 deletions

View File

@ -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: {