瀏覽代碼

Change format from es to esm

#17099 and https://github.com/rollup/rollup/pull/2102
Elias Hasle 6 年之前
父節點
當前提交
aba45cb9c1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rollup.config.js

+ 1 - 1
rollup.config.js

@@ -207,7 +207,7 @@ export default {
 			indent: '\t'
 		},
 		{
-			format: 'es',
+			format: 'esm',
 			file: 'build/three.module.js',
 			indent: '\t'
 		}