From b2a835bff6ec1be51376740771667666b94e66e8 Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Mon, 24 Apr 2023 03:09:57 +0530 Subject: [PATCH] chore: fix webpack config --- packages/web/web.webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/web/web.webpack.config.js b/packages/web/web.webpack.config.js index bda9d2fcd..55114b91c 100644 --- a/packages/web/web.webpack.config.js +++ b/packages/web/web.webpack.config.js @@ -76,7 +76,8 @@ module.exports = (env) => { * Exclude all node_modules, except for those we need to run through our babel rules because * they may contain class properties and other ES6+ syntax. */ - exclude: /node_modules\/(?!(@standardnotes\/common|@standardnotes\/domain-core|contactjs))/, + exclude: + /node_modules\/(?!(@standardnotes\/common|@standardnotes\/domain-core|contactjs|webextension-polyfill))/, use: [ 'babel-loader', {