bill 3 년 전
부모
커밋
9785eeeed7
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      vite.config.ts

+ 3 - 0
vite.config.ts

@@ -4,6 +4,9 @@ import { resolve } from 'path';
 
 export default defineConfig( {
 	build: {
+		commonjsOptions: {
+			 esmExternals: true
+		},
 		rollupOptions: {
 			input: {
 				b3dmExample: resolve( __dirname, 'example/b3dmExample.html' ),