Browse Source

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

Disable node libs in pdfjs-dist package.json
Yury Delendik 8 years ago committed by GitHub
parent
commit
f1819f4d36
  1. 3
      gulpfile.js

3
gulpfile.js

@ -1327,6 +1327,9 @@ gulp.task('dist-pre', @@ -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…
Cancel
Save