diff options
-rw-r--r-- | gulpfile.babel.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gulpfile.babel.js b/gulpfile.babel.js index ae7002eb2..aef96b4e4 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js | |||
@@ -90,6 +90,15 @@ export function mvPackageJson() { | |||
90 | .pipe(gulp.dest(paths.dest)); | 90 | .pipe(gulp.dest(paths.dest)); |
91 | } | 91 | } |
92 | 92 | ||
93 | export function mvPackages() { | ||
94 | return gulp.src( | ||
95 | [ | ||
96 | 'packages/**', | ||
97 | ], | ||
98 | ) | ||
99 | .pipe(gulp.dest(`${paths.dest}/packages`)); | ||
100 | } | ||
101 | |||
93 | export function html() { | 102 | export function html() { |
94 | return gulp.src(paths.html.src, { since: gulp.lastRun(html) }) | 103 | return gulp.src(paths.html.src, { since: gulp.lastRun(html) }) |
95 | .pipe(gulp.dest(paths.html.dest)); | 104 | .pipe(gulp.dest(paths.html.dest)); |
@@ -161,7 +170,7 @@ export function sign(done) { | |||
161 | 170 | ||
162 | const build = gulp.series( | 171 | const build = gulp.series( |
163 | clean, | 172 | clean, |
164 | gulp.parallel(mvSrc, mvPackageJson), | 173 | gulp.parallel(mvSrc, mvPackageJson, mvPackages), |
165 | gulp.parallel(html, scripts, styles), | 174 | gulp.parallel(html, scripts, styles), |
166 | dictionaries, | 175 | dictionaries, |
167 | ); | 176 | ); |