diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js index c51b2d88a..ba70b5573 100644 --- a/webpack/webpack.common.js +++ b/webpack/webpack.common.js @@ -38,7 +38,7 @@ module.exports = { { test: /\.(js|ts)$/, include: [dirs.NODE_MODULES, dirs.PRIVATE, dirs.TYPESCRIPT], - exclude: /node_modules\/core-js/, + exclude: /node_modules(\/|\\)core-js/, use: [{ loader: "babel-loader", options: {