diff --git a/src/bundler.ts b/src/bundler.ts index e62dc6fe4..bd4a96764 100644 --- a/src/bundler.ts +++ b/src/bundler.ts @@ -31,11 +31,11 @@ export async function extendBundler( // extract macros from components const macroOptions: TransformMacroPluginOptions = { - sourcemap: nuxt.options.sourcemap.server || nuxt.options.sourcemap.client + sourcemap: !!nuxt.options.sourcemap.server || !!nuxt.options.sourcemap.client } const resourceOptions: ResourcePluginOptions = { - sourcemap: nuxt.options.sourcemap.server || nuxt.options.sourcemap.client + sourcemap: !!nuxt.options.sourcemap.server || !!nuxt.options.sourcemap.client } /**