diff options
Diffstat (limited to 'gulpfile.babel.ts')
-rw-r--r-- | gulpfile.babel.ts | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gulpfile.babel.ts b/gulpfile.babel.ts index ea5960315..5d3510715 100644 --- a/gulpfile.babel.ts +++ b/gulpfile.babel.ts | |||
@@ -4,7 +4,6 @@ import babel from 'gulp-babel'; | |||
4 | import dartSass from 'sass'; | 4 | import dartSass from 'sass'; |
5 | import gulpSass from 'gulp-sass'; | 5 | import gulpSass from 'gulp-sass'; |
6 | import csso from 'gulp-csso'; | 6 | import csso from 'gulp-csso'; |
7 | import rename from 'gulp-rename'; | ||
8 | import terser from 'gulp-terser'; | 7 | import terser from 'gulp-terser'; |
9 | import htmlMin from 'gulp-htmlmin'; | 8 | import htmlMin from 'gulp-htmlmin'; |
10 | import connect from 'gulp-connect'; | 9 | import connect from 'gulp-connect'; |
@@ -102,13 +101,6 @@ function mvSrc() { | |||
102 | .pipe(gulp.dest(paths.dest)); | 101 | .pipe(gulp.dest(paths.dest)); |
103 | } | 102 | } |
104 | 103 | ||
105 | function mvElectronNpmrc() { | ||
106 | return gulp | ||
107 | .src(['electron-builder.npmrc']) | ||
108 | .pipe(rename('.npmrc')) | ||
109 | .pipe(gulp.dest(paths.dest)); | ||
110 | } | ||
111 | |||
112 | function mvPackageJson() { | 104 | function mvPackageJson() { |
113 | return gulp.src(['./package.json']).pipe(gulp.dest(paths.dest)); | 105 | return gulp.src(['./package.json']).pipe(gulp.dest(paths.dest)); |
114 | } | 106 | } |
@@ -227,7 +219,7 @@ function recipeInfo() { | |||
227 | 219 | ||
228 | export const build = gulp.series( | 220 | export const build = gulp.series( |
229 | clean, | 221 | clean, |
230 | gulp.parallel(mvElectronNpmrc, mvSrc, mvPackageJson, BuildInfo), | 222 | gulp.parallel(mvSrc, mvPackageJson, BuildInfo), |
231 | gulp.parallel( | 223 | gulp.parallel( |
232 | html, | 224 | html, |
233 | processJavascript, | 225 | processJavascript, |