Skip to content

Commit 06860a8

Browse files
committed
Fix saving huge files in VSCode
1 parent 3773da8 commit 06860a8

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

packages/app/config/webpack.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ module.exports = {
465465
[
466466
{
467467
from: '../../standalone-packages/vscode-editor/release/min/vs',
468-
to: 'public/vscode15/vs',
468+
to: 'public/vscode16/vs',
469469
force: true,
470470
},
471471
{

packages/app/config/webpack.prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ module.exports = merge(commonConfig, {
150150
},
151151
},
152152
{
153-
urlPattern: /\/vscode15/,
153+
urlPattern: /\/vscode16/,
154154
handler: 'cacheFirst',
155155
options: {
156156
cache: {

packages/app/src/app/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@
6969
}
7070
</script>
7171

72-
<link data-name="/public/vscode15/vs/editor/editor.main"
72+
<link data-name="/public/vscode16/vs/editor/editor.main"
7373
rel="preload"
7474
as="style"
75-
href="/public/vscode15/vs/editor/codesandbox.editor.main.css">
75+
href="/public/vscode16/vs/editor/codesandbox.editor.main.css">
7676
</link>
77-
<link rel="preload" as="script" href="/public/vscode15/vs/editor/codesandbox.editor.main.js"></link>
77+
<link rel="preload" as="script" href="/public/vscode16/vs/editor/codesandbox.editor.main.js"></link>
7878
</head>
7979
<body style="margin: 0; padding: 0;">
8080
<!-- Google Tag Manager (noscript) -->

packages/app/src/app/vscode/metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const VSCODE_METADATA = {
22
CORE: {
33
paths: {
4-
src: process.env.VSCODE ? '/vscode/out/vs' : '/public/vscode15/vs',
4+
src: process.env.VSCODE ? '/vscode/out/vs' : '/public/vscode16/vs',
55
'npm/dev': 'node_modules/monaco-editor-core/dev/vs',
66
'npm/min': 'node_modules/monaco-editor-core/min/vs',
77
built: '/vscode/out-monaco-editor-core/min/vs',

standalone-packages/vscode-editor/release/min/vs/editor/codesandbox.editor.main.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8073,15 +8073,15 @@ data-urls@^1.0.1:
80738073
whatwg-mimetype "^2.1.0"
80748074
whatwg-url "^7.0.0"
80758075

8076-
date-fns@^1.27.2:
8077-
version "1.29.0"
8078-
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.29.0.tgz#12e609cdcb935127311d04d33334e2960a2a54e6"
8079-
8080-
date-fns@^1.30.1:
8076+
[email protected], date-fns@^1.30.1:
80818077
version "1.30.1"
80828078
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"
80838079
integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==
80848080

8081+
date-fns@^1.27.2:
8082+
version "1.29.0"
8083+
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.29.0.tgz#12e609cdcb935127311d04d33334e2960a2a54e6"
8084+
80858085
date-format@^0.0.0:
80868086
version "0.0.0"
80878087
resolved "https://registry.yarnpkg.com/date-format/-/date-format-0.0.0.tgz#09206863ab070eb459acea5542cbd856b11966b3"

0 commit comments

Comments
 (0)