1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Fix webpack exclude path on windows.

This commit is contained in:
Brendan Dahl 2018-05-29 17:38:03 -07:00
parent 4b90379137
commit ea29ec83e1

View file

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