From 548b4ca20876d206c29eb614ff9d53e899d42be7 Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Tue, 29 May 2018 17:38:03 -0700 Subject: [PATCH] Fix webpack exclude path on windows. --- gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 2ce78b7b2..39f7607fe 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -163,7 +163,8 @@ function createWebpackConfig(defines, output) { loaders: [ { loader: 'babel-loader', - exclude: /src\/core\/(glyphlist|unicode)/, // babel is too slow + // babel is too slow + exclude: /src[\\\/]core[\\\/](glyphlist|unicode)/, options: { presets: skipBabel ? undefined : ['env'], plugins: ['transform-es2015-modules-commonjs'],