ananzhusen 1 年間 前
コミット
a1226b4fc7
1 ファイル変更7 行追加7 行削除
  1. 7 7
      vite.config.ts

+ 7 - 7
vite.config.ts

@@ -4,7 +4,7 @@ import vueJsx from '@vitejs/plugin-vue-jsx';
 import * as path from 'path';
 import * as fs from 'fs';
 import formidable from 'formidable';
-// import monacoEditorPlugin from 'vite-plugin-monaco-editor';
+import monacoEditorPlugin from 'vite-plugin-monaco-editor';
 
 // https://vitejs.dev/config/
 export default defineConfig({
@@ -13,12 +13,12 @@ export default defineConfig({
     vue(),
     vueJsx(),
     // 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: {
     alias: {