mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #8822 from yurydelendik/disable-fs-in-dist
Disable node libs in pdfjs-dist package.json
This commit is contained in:
commit
f1819f4d36
1 changed files with 3 additions and 0 deletions
|
@ -1327,6 +1327,9 @@ gulp.task('dist-pre',
|
|||
'worker-loader': '^0.8.0', // used in external/dist/webpack.json
|
||||
},
|
||||
browser: {
|
||||
'fs': false,
|
||||
'http': false,
|
||||
'https': false,
|
||||
'node-ensure': false,
|
||||
},
|
||||
format: 'amd', // to not allow system.js to choose 'cjs'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue