浏览代码

Merge pull request #17100 from EliasHasle/patch-9

Change rollup output format specifier for modules from es to esm
Mr.doob 6 年之前
父节点
当前提交
06581f27dc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rollup.config.js

+ 1 - 1
rollup.config.js

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