mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-09 08:02:24 +02:00
fix copy files
This commit is contained in:
16
gulpfile.js
16
gulpfile.js
@ -63,15 +63,7 @@ gulp.task('copyFiles', function () {
|
|||||||
])
|
])
|
||||||
.pipe(gulp.dest('app')),
|
.pipe(gulp.dest('app')),
|
||||||
|
|
||||||
gulp
|
gulp.src('build/*').pipe(gulp.dest('app')),
|
||||||
.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')),
|
|
||||||
|
|
||||||
// Following CSS are copied to build/ folder where they'll be referenced by
|
// Following CSS are copied to build/ folder where they'll be referenced by
|
||||||
// useRef plugin to concat into one.
|
// useRef plugin to concat into one.
|
||||||
@ -89,7 +81,7 @@ gulp.task('copyFiles', function () {
|
|||||||
.pipe(gulp.dest('build/lib/codemirror/addon/dialog')),
|
.pipe(gulp.dest('build/lib/codemirror/addon/dialog')),
|
||||||
gulp.src('src/lib/hint.min.css').pipe(gulp.dest('build/lib')),
|
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/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
|
gulp
|
||||||
.src([
|
.src([
|
||||||
@ -250,6 +242,6 @@ exports.devRelease = gulp.series(
|
|||||||
'useRef',
|
'useRef',
|
||||||
// 'concatSwRegistration',
|
// 'concatSwRegistration',
|
||||||
// 'generate-service-worker',
|
// 'generate-service-worker',
|
||||||
'buildDistFolder',
|
'buildDistFolder'
|
||||||
'cleanup'
|
// 'cleanup'
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user