From d6257f2ffe5d8b08b3eac810828d879e9014c692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Tue, 11 Aug 2020 17:22:11 -0400 Subject: [PATCH] Apply hacks unconditionally --- .github/workflows/ci.yml | 4 ++-- babel.config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca3783bf74d5..d95d6dbb0f24 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: Node CI on: [push, pull_request] jobs: - latest-node-test: + test: runs-on: ubuntu-latest steps: - name: Checkout code @@ -20,7 +20,7 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} - legacy-node-test: + legacy-node-version-test: runs-on: ubuntu-latest strategy: fail-fast: true diff --git a/babel.config.js b/babel.config.js index a5c7c6f3ba16..e28869a0f676 100644 --- a/babel.config.js +++ b/babel.config.js @@ -109,7 +109,7 @@ module.exports = function (api) { "@babel/proposal-object-rest-spread", { useBuiltIns: true, loose: true }, ], - compileDynamicImport ? dynamicImportUrlToPath : null, + dynamicImportUrlToPath, compileDynamicImport ? "@babel/plugin-proposal-dynamic-import" : null, convertESM ? "@babel/transform-modules-commonjs" : null,