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:
parent
4b90379137
commit
ea29ec83e1
1 changed files with 2 additions and 1 deletions
|
@ -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'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue