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 (#2308)
Browse files Browse the repository at this point in the history
Summary:
**Summary**

Run yarn on the current master will produce an untracked file `website/static/css/Draft.css`. It's a remainder from the migration to Docusaurus 2 and should be deleted.

This will fix #2304

**Test Plan**

I ran `cd website && yarn && yarn start` and the doc website works fine locally.
Pull Request resolved: #2308

Reviewed By: claudiopro

Differential Revision: D19519361

Pulled By: mrkev

fbshipit-source-id: 7ea79dbfeb98f7dddba7d8fccc3cfc4708990788
  • Loading branch information
lukyth authored and facebook-github-bot committed Jan 28, 2020
1 parent 9b9376b commit 963e312
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
21 changes: 1 addition & 20 deletions gulpfile.js
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 963e312

Please sign in to comment.