Skip to content

Commit

Permalink
fix: don't generate sourcemaps in CI (#373)
Browse files Browse the repository at this point in the history
* fix: don't generate sourcemaps in CI

* changeset
  • Loading branch information
manuel3108 authored Dec 27, 2024
1 parent 93f0ac6 commit 8c84590
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/shy-pandas-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'sv': patch
---

fix: don't generate sourcemaps for release
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function getConfig(project) {
output: {
dir: outDir,
format: 'esm',
sourcemap: true
sourcemap: !process.env.CI
},
external,
plugins: [
Expand Down

0 comments on commit 8c84590

Please sign in to comment.