From 4e6ae18f1949dd8964ada2c7532acead0847ea58 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Thu, 24 Aug 2017 10:57:18 -0500 Subject: [PATCH] Disable node libs in pdfjs-dist package.json --- gulpfile.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 27d0923cc..cfaa45445 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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'