diff --git a/.changeset/shy-pandas-learn.md b/.changeset/shy-pandas-learn.md new file mode 100644 index 00000000..229469cb --- /dev/null +++ b/.changeset/shy-pandas-learn.md @@ -0,0 +1,5 @@ +--- +'sv': patch +--- + +fix: don't generate sourcemaps for release diff --git a/rollup.config.js b/rollup.config.js index 224a4271..bc4f764b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -107,7 +107,7 @@ function getConfig(project) { output: { dir: outDir, format: 'esm', - sourcemap: true + sourcemap: !process.env.CI }, external, plugins: [