From bac6e2ea53dbbaa16b58d6ea7d0a03433b46079e Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Fri, 26 Jan 2018 12:52:10 +1300 Subject: [PATCH] Fixed `npm` build. --- gulpfile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 34a6836a..a25d65c5 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -295,7 +295,10 @@ function dist_src() { .pipe(gulp.src('manifest.json', { passthrougth: true })) .pipe(gulp.src('package.json', { passthrougth: true })) .pipe(gulp.src('changelog.html', { passthrougth: true })) - .pipe(gulp.dest(DIST_DIR)); + .pipe(gulp.dest(DIST_DIR)) + .pipe(install({ + npm: '--production --ignore-scripts' + })); }; function dist_locale() {