Fixed `npm` build.

10.3.x-maintenance
Michael Keller 2018-01-26 12:52:10 +13:00
parent 5e53eeecbc
commit bac6e2ea53
1 changed files with 4 additions and 1 deletions

View File

@ -295,7 +295,10 @@ function dist_src() {
.pipe(gulp.src('manifest.json', { passthrougth: true })) .pipe(gulp.src('manifest.json', { passthrougth: true }))
.pipe(gulp.src('package.json', { passthrougth: true })) .pipe(gulp.src('package.json', { passthrougth: true }))
.pipe(gulp.src('changelog.html', { 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() { function dist_locale() {