From 0eb643d5637b30b5790a55bb383c987cf8ad0502 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 5 Nov 2020 13:03:17 -0500 Subject: [PATCH] chore(): remove es5 check --- .scripts/release.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.scripts/release.js b/.scripts/release.js index ff13bfe655..f2cd54834f 100644 --- a/.scripts/release.js +++ b/.scripts/release.js @@ -63,9 +63,8 @@ async function main() { function checkProductionRelease() { const corePath = common.projectPath('core'); const hasEsm = fs.existsSync(path.join(corePath, 'dist', 'esm')); - const hasEsmEs5 = fs.existsSync(path.join(corePath, 'dist', 'esm-es5')); const hasCjs = fs.existsSync(path.join(corePath, 'dist', 'cjs')); - if (!hasEsm || !hasEsmEs5 || !hasCjs) { + if (!hasEsm || !hasCjs) { throw new Error('core build is not a production build'); } }