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

Commit 963e312

Browse files
lukythfacebook-github-bot
authored andcommitted
Remove unused gulp task remained from docusaurus 2 migration (#2308)
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
1 parent 9b9376b commit 963e312

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

gulpfile.js

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ var paths = {
3838
'!src/**/__mocks__/**/*.js',
3939
],
4040
css: ['src/**/*.css'],
41-
static: 'website/static',
4241
};
4342

4443
var babelOptsJS = {
@@ -245,24 +244,6 @@ gulp.task(
245244
}),
246245
);
247246

248-
gulp.task(
249-
'website:static',
250-
gulp.series(
251-
'dist:min',
252-
'css',
253-
gulp.parallel(function() {
254-
return gulp
255-
.src(paths.dist + '/Draft.min.js')
256-
.pipe(gulp.dest(paths.static + '/lib'));
257-
}),
258-
gulp.parallel(function() {
259-
return gulp
260-
.src(paths.dist + '/Draft.css')
261-
.pipe(gulp.dest(paths.static + '/css'));
262-
}),
263-
),
264-
);
265-
266247
gulp.task(
267248
'check-dependencies',
268249
gulp.series(function() {
@@ -290,6 +271,6 @@ gulp.task(
290271
'check-dependencies',
291272
'clean',
292273
gulp.parallel('modules', 'flow'),
293-
gulp.parallel('dist', 'dist:min', 'website:static'),
274+
gulp.parallel('dist', 'dist:min'),
294275
),
295276
);

meta/bundle-size-stats/Draft.min.js.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)