File tree Expand file tree Collapse file tree 10 files changed +16
-9
lines changed
extensionHostWorker/common
monaco-editor/release/min/vs/language/typescript Expand file tree Collapse file tree 10 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,13 @@ const staticAssets = [
3030 from : 'packages/app/static' ,
3131 to : 'static' ,
3232 } ,
33+ {
34+ from : isDev
35+ ? 'standalone-packages/codesandbox-browserfs/build'
36+ : 'standalone-packages/codesandbox-browserfs/dist' ,
37+ to : 'static/browserfs8' ,
38+ } ,
39+ // For caching purposes
3340 {
3441 from : isDev
3542 ? 'standalone-packages/codesandbox-browserfs/build'
Original file line number Diff line number Diff line change 5757 </ script >
5858 <!-- End Google Tag Manager -->
5959 <!-- <script async src="//cdn.headwayapp.co/widget.js"></script> -->
60- < script src ="<%= webpackConfig.output.publicPath %>static/browserfs7 /browserfs<%=process.env.NODE_ENV
60+ < script src ="<%= webpackConfig.output.publicPath %>static/browserfs8 /browserfs<%=process.env.NODE_ENV
6161 === 'development' ? '' : '.min'%>.js "
6262 type ="text/javascript "> </ script >
6363
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Linter from 'eslint/lib/linter';
33import monkeypatch from './monkeypatch-babel-eslint' ;
44
55self . importScripts (
6- `${ process . env . CODESANDBOX_HOST } /static/browserfs7 /browserfs.min.js`
6+ `${ process . env . CODESANDBOX_HOST } /static/browserfs8 /browserfs.min.js`
77) ;
88
99/* eslint-disable global-require */
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export const initializePolyfills = () => {
2121
2222export const loadBrowserFS = ( ) => {
2323 ctx . importScripts (
24- `${ process . env . CODESANDBOX_HOST } /static/browserfs7 /browserfs.min.js`
24+ `${ process . env . CODESANDBOX_HOST } /static/browserfs8 /browserfs.min.js`
2525 ) ;
2626} ;
2727
Original file line number Diff line number Diff line change 3939 </ script >
4040 <!-- End Google Tag Manager -->
4141
42- < script src ="<%= webpackConfig.output.publicPath %>static/browserfs7 /browserfs<%=process.env.NODE_ENV
42+ < script src ="<%= webpackConfig.output.publicPath %>static/browserfs8 /browserfs<%=process.env.NODE_ENV
4343 === 'development' ? '' : '.min'%>.js "
4444 type ="text/javascript "> </ script >
4545
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import loadPolyfills from '@codesandbox/common/lib/load-dynamic-polyfills';
33require ( 'app/config/polyfills' ) ;
44
55self . importScripts (
6- `${ process . env . CODESANDBOX_HOST } /static/browserfs7 /browserfs.min.js`
6+ `${ process . env . CODESANDBOX_HOST } /static/browserfs8 /browserfs.min.js`
77) ;
88
99self . process = self . BrowserFS . BFSRequire ( 'process' ) ;
Original file line number Diff line number Diff line change 11self . importScripts (
2- `${ process . env . CODESANDBOX_HOST } /static/browserfs7 /browserfs.min.js`
2+ `${ process . env . CODESANDBOX_HOST } /static/browserfs8 /browserfs.min.js`
33) ;
44
55self . process = self . BrowserFS . BFSRequire ( 'process' ) ;
Original file line number Diff line number Diff line change 88 < link rel ="manifest " href ="/manifest.json ">
99 < link rel ="shortcut icon " href ="/favicon.ico ">
1010 < link rel ="mask-icon " href ="csb-ios.svg " color ="#fff ">
11- < script src ="<%= webpackConfig.output.publicPath %>static/browserfs7 /browserfs.min.js "
11+ < script src ="<%= webpackConfig.output.publicPath %>static/browserfs8 /browserfs.min.js "
1212 type ="text/javascript "> </ script >
1313
1414 < script >
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ declare global {
4040// @ts -ignore
4141const oldamd = self . define . amd ;
4242( self as any ) . define . amd = null ;
43- ( self as any ) . importScripts ( `/static/browserfs7 /browserfs.min.js` ) ;
43+ ( self as any ) . importScripts ( `/static/browserfs8 /browserfs.min.js` ) ;
4444( self as any ) . define . amd = oldamd ;
4545
4646( self as any ) . BrowserFS = BrowserFS ;
You can’t perform that action at this time.
0 commit comments