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
@ -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…
Reference in New Issue
Block a user