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",
|
||||
}),
|
||||
new webpack.SourceMapDevToolPlugin({
|
||||
exclude: /content\/.*/,
|
||||
exclude: [/content\/.*/, /notification\/.*/],
|
||||
filename: "[file].map",
|
||||
}),
|
||||
];
|
||||
|
@ -129,7 +129,7 @@ const config = {
|
|||
minimize: true,
|
||||
minimizer: [
|
||||
new TerserPlugin({
|
||||
exclude: /content\/.*/,
|
||||
exclude: [/content\/.*/, /notification\/.*/],
|
||||
}),
|
||||
],
|
||||
splitChunks: {
|
||||
|
|
Loading…
Reference in New Issue