mirror of
https://github.com/chinchang/web-maker.git
synced 2025-01-18 04:48:50 +01:00
fix copy files
This commit is contained in:
parent
f0bebb14f3
commit
5380b41925
16
gulpfile.js
16
gulpfile.js
@ -63,15 +63,7 @@ gulp.task('copyFiles', function () {
|
||||
])
|
||||
.pipe(gulp.dest('app')),
|
||||
|
||||
gulp
|
||||
.src('build/bundle.*.js')
|
||||
.pipe(rename('script.js'))
|
||||
.pipe(gulp.dest('app')),
|
||||
gulp
|
||||
.src('build/vendor.*.js')
|
||||
.pipe(rename('vendor.js'))
|
||||
.pipe(gulp.dest('app')),
|
||||
gulp.src('build/monaco.*.js').pipe(gulp.dest('app')),
|
||||
gulp.src('build/*').pipe(gulp.dest('app')),
|
||||
|
||||
// Following CSS are copied to build/ folder where they'll be referenced by
|
||||
// useRef plugin to concat into one.
|
||||
@ -89,7 +81,7 @@ gulp.task('copyFiles', function () {
|
||||
.pipe(gulp.dest('build/lib/codemirror/addon/dialog')),
|
||||
gulp.src('src/lib/hint.min.css').pipe(gulp.dest('build/lib')),
|
||||
gulp.src('src/lib/inlet.css').pipe(gulp.dest('build/lib')),
|
||||
gulp.src('src/style.css').pipe(gulp.dest('build')),
|
||||
// gulp.src('src/style.css').pipe(gulp.dest('build')),
|
||||
|
||||
gulp
|
||||
.src([
|
||||
@ -250,6 +242,6 @@ exports.devRelease = gulp.series(
|
||||
'useRef',
|
||||
// 'concatSwRegistration',
|
||||
// 'generate-service-worker',
|
||||
'buildDistFolder',
|
||||
'cleanup'
|
||||
'buildDistFolder'
|
||||
// 'cleanup'
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user