From 7c94efa00240ef8b2083fd5fceefed6d19536f01 Mon Sep 17 00:00:00 2001 From: Daniel La Rocque Date: Tue, 1 Oct 2024 15:45:21 -0400 Subject: [PATCH] Upgrade cjs bundles for storage and performance These should have been part of the bigger PR, but I missed these. --- packages/performance/rollup.config.js | 2 +- packages/storage/rollup.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/performance/rollup.config.js b/packages/performance/rollup.config.js index 4752b5cfc02..ca9fdde7f54 100644 --- a/packages/performance/rollup.config.js +++ b/packages/performance/rollup.config.js @@ -55,7 +55,7 @@ const cjsBuild = { external: id => deps.some(dep => id === dep || id.startsWith(`${dep}/`)), plugins: [ ...buildPlugins, - replace(generateBuildTargetReplaceConfig('cjs', 5)) + replace(generateBuildTargetReplaceConfig('cjs', 2017)) ] }; diff --git a/packages/storage/rollup.config.js b/packages/storage/rollup.config.js index 21431d1a2a3..093cca0c654 100644 --- a/packages/storage/rollup.config.js +++ b/packages/storage/rollup.config.js @@ -100,7 +100,7 @@ const browserBuilds = [ alias(generateAliasConfig('browser')), ...buildPlugins, replace({ - ...generateBuildTargetReplaceConfig('cjs', 5), + ...generateBuildTargetReplaceConfig('cjs', 2017), '__RUNTIME_ENV__': '' }) ],