Explorar el Código

Rollup: Tweaked Buble transforms.

Mr.doob hace 6 años
padre
commit
e68904fc38
Se han modificado 1 ficheros con 7 adiciones y 2 borrados
  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'
 			}
 		]
 	},