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 2021/04/04 04:47:23 UTC

[incubator-annotator] 09/14: Add test plugins last in babel setup

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 ff6050297293db849a945b33bf7e5c70daecad41
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sat Apr 3 20:19:33 2021 -0700

    Add test plugins last in babel setup
    
    This change is just for readability.
---
 babel.config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/babel.config.js b/babel.config.js
index 945e63d..6ef6fcd 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -76,10 +76,10 @@ module.exports = (api) => {
     plugins: [
       '@babel/plugin-proposal-class-properties',
       ['@babel/transform-runtime', runtimeOptions],
-      ...(TEST ? ['istanbul'] : []),
       ['add-import-extension', addImportExtensionOptions],
       ['module-resolver', resolverOptions],
       'preserve-comment-header',
+      ...(TEST ? ['istanbul'] : []),
     ],
     presets: [
       ['@babel/env', envOptions],