mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-10-10 23:53:29 +08:00
添加monoca editor
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
|
||||
const ESLintPlugin = require('eslint-webpack-plugin')
|
||||
|
||||
const MonacoEditorPlugin = require("monaco-editor-webpack-plugin");
|
||||
|
||||
const { configure } = require('quasar/wrappers');
|
||||
|
||||
@@ -76,8 +76,9 @@ module.exports = configure(function (ctx) {
|
||||
chainWebpack (chain) {
|
||||
chain.plugin('eslint-webpack-plugin')
|
||||
.use(ESLintPlugin, [{ extensions: [ 'js', 'vue' ] }])
|
||||
}
|
||||
|
||||
chain.plugin("monaco-editor-webpack-plugin")
|
||||
.use(MonacoEditorPlugin);
|
||||
},
|
||||
},
|
||||
|
||||
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-devServer
|
||||
|
Reference in New Issue
Block a user