Explorar o código

HUE-8856 [ci] Move .babelrc copy before run webpack

To avoid:
ERROR in ./desktop/core/src/desktop/js/parse/sql/sqlParserRepository.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /usr/share/hue/desktop/core/src/desktop/js/parse/sql/sqlParserRepository.js: Support for the experimental syntax 'dynamicImport' isn't currently enabled (22:18):
Romain %!s(int64=6) %!d(string=hai) anos
pai
achega
c36fbf3979
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .circleci/config.yml

+ 1 - 1
.circleci/config.yml

@@ -64,6 +64,7 @@ jobs:
 
             cd /usr/share/hue
             # make npm-install # Not available
+            cp ~/repo/.babelrc .
             npm install
             npm run webpack
             npm run webpack-login
@@ -84,7 +85,6 @@ jobs:
           name: run js tests
           command: |
             cd /usr/share/hue
-            cp ~/repo/.babelrc .
             npm run test
 
       # Code analyses