Skip to content

Commit 4e289bd

Browse files
committed
Include old browserfs paths in build for cached html
1 parent 8ff1e6c commit 4e289bd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Gulpfile.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,18 @@ gulp.task('monaco', () =>
3535
.pipe(gulp.dest('www/public/13/vs'))
3636
);
3737

38+
// Used for cases where HTML is cached
39+
gulp.task('old-browserfs', () =>
40+
gulp
41+
.src('standalone-packages/codesandbox-browserfs/dist/**/*')
42+
.pipe(gulp.dest('www/static/browserfs'))
43+
);
44+
3845
gulp.task('statics', () =>
3946
gulp.src('packages/app/public/**/*').pipe(gulp.dest('www'))
4047
);
4148

42-
gulp.task('default', ['app', 'homepage', 'statics', 'monaco']);
49+
gulp.task('default', ['app', 'homepage', 'statics', 'monaco', 'old-browserfs']);
4350

4451
gulp.task('clean-vscode', rimraf('standalone-packages/monaco-editor-core'));
4552

0 commit comments

Comments
 (0)