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