Skip to content

Commit 77c872d

Browse files
committed
🐛 设置monaco为英文
如果需要支持多语言,比较麻烦,不打算在mv2中处理了
1 parent d0ab618 commit 77c872d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

webpack.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ const config: Configuration = {
116116
new CleanWebpackPlugin(),
117117
new ProgressBarPlugin({}),
118118
new MonacoLocalesPlugin({
119-
languages: ["es", "zh-cn"],
120-
defaultLanguage: "zh-cn",
119+
languages: ["en", "zh-cn"],
120+
defaultLanguage: "en",
121121
logUnmatched: false,
122122
}),
123123
UnoCSS({

0 commit comments

Comments
 (0)