Browse Source

Merge pull request #17100 from EliasHasle/patch-9

Change rollup output format specifier for modules from es to esm
Mr.doob 6 năm trước cách đây
mục cha
commit
06581f27dc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'
 		}