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