소스 검색

feat:monaco-publichPath

ananzhusen 1 년 전
부모
커밋
6b14e3c95d
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  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: {