domoritz commented on a change in pull request #9961:
URL: https://github.com/apache/arrow/pull/9961#discussion_r610802832



##########
File path: js/gulp/compile-task.js
##########
@@ -25,12 +25,12 @@ const typescriptTask = require('./typescript-task');
 const { arrowTask, arrowTSTask } = require('./arrow-task');
 
 const compileTask = ((cache) => memoizeTask(cache, function compile(target, 
format, ...args) {
-    return target === `src`                    ? Observable.empty()
-         : target === npmPkgName               ? arrowTask(target, format, 
...args)()
-         : target === `ts`                     ? arrowTSTask(target, format, 
...args)()
-         : format === `umd` ? target === `es5` ? closureTask(target, format, 
...args)()
-                                               : minifyTask(target, format, 
...args)()
-                                               : typescriptTask(target, 
format, ...args)();
+    return target === `src`                       ? Observable.empty()
+         : target === npmPkgName                  ? arrowTask(target, format, 
...args)()
+         : target === `ts`                        ? arrowTSTask(target, 
format, ...args)()
+         : format === `umd` ? target === `es2015` ? closureTask(target, 
format, ...args)()

Review comment:
       I don't know (closure compiler is a mystery to be tbh). I thought this 
may be needed to switch to es2015 but I'll undo this for now. 
   
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to