Skip to content

Commit 0d225d8

Browse files
authored
Force vscode platform to mac (codesandbox#1686)
1 parent 3ebcf50 commit 0d225d8

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
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/vscode16/vs',
468+
to: 'public/vscode17/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: /\/vscode16/,
153+
urlPattern: /\/vscode17/,
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
@@ -68,12 +68,12 @@
6868
}
6969
</script>
7070

71-
<link data-name="/public/vscode16/vs/editor/editor.main"
71+
<link data-name="/public/vscode17/vs/editor/editor.main"
7272
rel="preload"
7373
as="style"
74-
href="/public/vscode16/vs/editor/codesandbox.editor.main.css">
74+
href="/public/vscode17/vs/editor/codesandbox.editor.main.css">
7575
</link>
76-
<link rel="preload" as="script" href="/public/vscode16/vs/editor/codesandbox.editor.main.js"></link>
76+
<link rel="preload" as="script" href="/public/vscode17/vs/editor/codesandbox.editor.main.js"></link>
7777
</head>
7878
<body style="margin: 0; padding: 0;">
7979
<!-- 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/vscode16/vs',
4+
src: process.env.VSCODE ? '/vscode/out/vs' : '/public/vscode17/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.

0 commit comments

Comments
 (0)