Browse Source

Rollup: Tweaked Buble transforms.

Mr.doob 6 years ago
parent
commit
e68904fc38
1 changed files with 7 additions and 2 deletions
  1. 7 2
      rollup.config.js

+ 7 - 2
rollup.config.js

@@ -201,14 +201,19 @@ export default [
 		plugins: [
 			glconstants(),
 			glsl(),
-			buble()
+			buble( {
+				transforms: {
+					arrow: false,
+					classes: true
+				}
+			} )
 		],
 		output: [
 			{
 				format: 'umd',
 				name: 'THREE',
 				file: 'build/three.js',
-				indent: '\t',
+				indent: '\t'
 			}
 		]
 	},