|
@@ -4,7 +4,7 @@ import vueJsx from '@vitejs/plugin-vue-jsx';
|
|
import * as path from 'path';
|
|
import * as path from 'path';
|
|
import * as fs from 'fs';
|
|
import * as fs from 'fs';
|
|
import formidable from 'formidable';
|
|
import formidable from 'formidable';
|
|
-import monacoEditorPlugin from 'vite-plugin-monaco-editor';
|
|
|
|
|
|
+// import monacoEditorPlugin from 'vite-plugin-monaco-editor';
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
export default defineConfig({
|
|
@@ -13,12 +13,12 @@ export default defineConfig({
|
|
vue(),
|
|
vue(),
|
|
vueJsx(),
|
|
vueJsx(),
|
|
// fileList(),
|
|
// fileList(),
|
|
- monacoEditorPlugin({
|
|
|
|
- // customDistPath: () => {
|
|
|
|
- // return 'v/monacoeditorwork';
|
|
|
|
- // },
|
|
|
|
- publicPath: 'https://assets.le5lecdn.com/v/monacoeditorwork',
|
|
|
|
- }),
|
|
|
|
|
|
+ // monacoEditorPlugin({
|
|
|
|
+ // // customDistPath: () => {
|
|
|
|
+ // // return 'v/monacoeditorwork';
|
|
|
|
+ // // },
|
|
|
|
+ // publicPath: 'https://assets.le5lecdn.com/v/monacoeditorwork',
|
|
|
|
+ // }),
|
|
],
|
|
],
|
|
resolve: {
|
|
resolve: {
|
|
alias: {
|
|
alias: {
|