From 5336065fbd23cf1cd828968203ab072ee9cabce8 Mon Sep 17 00:00:00 2001 From: Mark Lundin Date: Thu, 7 Mar 2024 17:31:00 +0000 Subject: [PATCH] added brackets --- utils/rollup-build-target.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/rollup-build-target.mjs b/utils/rollup-build-target.mjs index e56cdddacd3..ceb9d336324 100644 --- a/utils/rollup-build-target.mjs +++ b/utils/rollup-build-target.mjs @@ -125,7 +125,7 @@ function buildTarget(buildType, moduleFormat, input = 'src/index.js', buildDir = plugins: outputPlugins[buildType || outputPlugins.release], format: outputFormat[moduleFormat], indent: '\t', - sourcemap: shouldBundle && sourceMap[buildType] || sourceMap.release, + sourcemap: shouldBundle && (sourceMap[buildType] || sourceMap.release), name: 'pc', preserveModules: !shouldBundle };