Skip to content

Commit ea29ec8

Browse files
committed
Fix webpack exclude path on windows.
1 parent 4b90379 commit ea29ec8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ function createWebpackConfig(defines, output) {
150150
loaders: [
151151
{
152152
loader: 'babel-loader',
153-
exclude: /src\/core\/(glyphlist|unicode)/, // babel is too slow
153+
// babel is too slow
154+
exclude: /src[\\\/]core[\\\/](glyphlist|unicode)/,
154155
options: {
155156
presets: pdfjsNext ? undefined : ['env'],
156157
plugins: ['transform-es2015-modules-commonjs'],

0 commit comments

Comments
 (0)