Browse Source

Change format from es to esm

#17099 and https://github.com/rollup/rollup/pull/2102
Elias Hasle 6 years ago
parent
commit
aba45cb9c1
1 changed files with 1 additions and 1 deletions
  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'
 		}
 		}