mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
Fix console warnings in notification content script (#2388)
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user