You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2019/05/09 10:01:53 UTC

[incubator-annotator] 04/09: Re-enable ES module formatted Babel helpers

This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit fa27fac7724b9e640ae32fee1ec176ff863774fb
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Thu May 9 02:56:25 2019 -0700

    Re-enable ES module formatted Babel helpers
---
 babel.config.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/babel.config.js b/babel.config.js
index a8e9790..f6ff1df 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -59,8 +59,7 @@ module.exports = api => {
     // Use core-js for runtime helpers.
     corejs: corejsOptions,
     // Use helpers formatted for the target environment.
-    // TODO: make this work again
-    // useESModules: !CJS,
+    useESModules: !CJS,
   };
 
   return {