mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Disable node libs in pdfjs-dist package.json
This commit is contained in:
parent
d16709f5e4
commit
4e6ae18f19
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
|
'worker-loader': '^0.8.0', // used in external/dist/webpack.json
|
||||||
},
|
},
|
||||||
browser: {
|
browser: {
|
||||||
|
'fs': false,
|
||||||
|
'http': false,
|
||||||
|
'https': false,
|
||||||
'node-ensure': false,
|
'node-ensure': false,
|
||||||
},
|
},
|
||||||
format: 'amd', // to not allow system.js to choose 'cjs'
|
format: 'amd', // to not allow system.js to choose 'cjs'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue