mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-29 20:32:44 +08:00
monaco去掉用不上的语言
This commit is contained in:
parent
25f5c01541
commit
c9915d4cc0
@ -79,7 +79,9 @@ module.exports = configure(function(ctx) {
|
||||
extensions: ['js', 'vue']
|
||||
}])
|
||||
chain.plugin("monaco-editor-webpack-plugin")
|
||||
.use(MonacoEditorPlugin);
|
||||
.use(MonacoEditorPlugin, [{
|
||||
languages: ['typescript', 'html'] // 只导入js和html
|
||||
}]);
|
||||
chain.plugin("copy-webpack-plugin")
|
||||
.use(CopyPlugin, [{
|
||||
patterns: [{
|
||||
|
Loading…
x
Reference in New Issue
Block a user