diff --git a/services/web/.babelrc b/services/web/babel.config.json similarity index 100% rename from services/web/.babelrc rename to services/web/babel.config.json diff --git a/services/web/webpack.config.js b/services/web/webpack.config.js index b7cdf5e54d..6840c7c752 100644 --- a/services/web/webpack.config.js +++ b/services/web/webpack.config.js @@ -59,7 +59,7 @@ module.exports = { // Only compile application files (npm and vendored dependencies are in // ES5 already) exclude: [ - /node_modules/, + /node_modules\/(?!@overleaf\/o-error\/)/, path.resolve(__dirname, 'frontend/js/vendor') ], use: [