Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Remove unused gulp task remained from docusaurus 2 migration #2308

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove unused gulp task remained from docusaurus 2 migration
  • Loading branch information
lukyth committed Jan 18, 2020
commit 0edb39194bf5b8f10d388f9a48adae06aaf38d32
21 changes: 1 addition & 20 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ var paths = {
'!src/**/__mocks__/**/*.js',
],
css: ['src/**/*.css'],
static: 'website/static',
};

var babelOptsJS = {
Expand Down Expand Up @@ -245,24 +244,6 @@ gulp.task(
}),
);

gulp.task(
'website:static',
gulp.series(
'dist:min',
'css',
gulp.parallel(function() {
return gulp
.src(paths.dist + '/Draft.min.js')
.pipe(gulp.dest(paths.static + '/lib'));
}),
gulp.parallel(function() {
return gulp
.src(paths.dist + '/Draft.css')
.pipe(gulp.dest(paths.static + '/css'));
}),
),
);

gulp.task(
'check-dependencies',
gulp.series(function() {
Expand Down Expand Up @@ -290,6 +271,6 @@ gulp.task(
'check-dependencies',
'clean',
gulp.parallel('modules', 'flow'),
gulp.parallel('dist', 'dist:min', 'website:static'),
gulp.parallel('dist', 'dist:min'),
),
);
2 changes: 1 addition & 1 deletion meta/bundle-size-stats/Draft.min.js.json

Large diffs are not rendered by default.