From 04fe9d15197828feea57ab97ca0b2c2127a9c82c Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Tue, 15 Feb 2022 15:09:02 +0100 Subject: [PATCH] Fix console warnings in notification content script (#2388) (cherry picked from commit 8375d6ecbbc4ba2f5e3c0a0bdd5e054139de0366) --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 8fb09afc3a..218803b839 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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: {