Răsfoiți Sursa

feat:monaco-publichPath

ananzhusen 1 an în urmă
părinte
comite
6b14e3c95d
1 a modificat fișierele cu 4 adăugiri și 3 ștergeri
  1. 4 3
      vite.config.ts

+ 4 - 3
vite.config.ts

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