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', {