Skip to content

Commit

Permalink
Fix webpack exclude path on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandahl committed Jun 6, 2018
1 parent 4b90379 commit ea29ec8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,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: pdfjsNext ? undefined : ['env'],
plugins: ['transform-es2015-modules-commonjs'],
Expand Down

0 comments on commit ea29ec8

Please sign in to comment.