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

Commit

Permalink
Remove unused gulp task remained from docusaurus 2 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
lukyth committed Jan 18, 2020
1 parent b051fc1 commit 0edb391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
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.

0 comments on commit 0edb391

Please sign in to comment.