Merge pull request #8822 from yurydelendik/disable-fs-in-dist

Disable node libs in pdfjs-dist package.json
This commit is contained in:
Yury Delendik 2017-08-24 11:36:00 -05:00 committed by GitHub
commit f1819f4d36

View File

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