Sfoglia il codice sorgente

feat:monaco-publichPath

ananzhusen 1 anno fa
parent
commit
6b14e3c95d
1 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  1. 4 3
      vite.config.ts

+ 4 - 3
vite.config.ts

@@ -14,9 +14,10 @@ export default defineConfig({
     vueJsx(),
     vueJsx(),
     // fileList(),
     // fileList(),
     monacoEditorPlugin({
     monacoEditorPlugin({
-      customDistPath: () => {
-        return 'v/monacoeditorwork';
-      },
+      // customDistPath: () => {
+      //   return 'v/monacoeditorwork';
+      // },
+      publicPath: 'https://assets.le5lecdn.com/v/monacoeditorwork',
     }),
     }),
   ],
   ],
   resolve: {
   resolve: {