Fix webpack exclude path on windows.
This commit is contained in:
parent
7cd6c0fbf2
commit
548b4ca208
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user