Skip to content

Commit 62102ed

Browse files
authored
fix: Fix sources field (#2)
1 parent acd7bbb commit 62102ed

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "swc_sourcemap"
3-
version = "9.3.0"
3+
version = "9.3.1"
44
authors = ["Sentry <hello@sentry.io>", "swc-project <https://swc.rs>"]
55
keywords = ["javascript", "sourcemap", "sourcemaps"]
66
description = "Forked from https://github.com/getsentry/rust-sourcemap"

src/lazy/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub struct RawSourceMap<'a> {
2424
pub(crate) version: Option<u32>,
2525
#[serde(default, borrow, skip_serializing_if = "Option::is_none")]
2626
pub(crate) file: Option<MaybeRawValue<'a, Str>>,
27-
#[serde(borrow, skip_serializing_if = "MaybeRawValue::is_empty")]
27+
#[serde(borrow)]
2828
pub(crate) sources: MaybeRawValue<'a, Vec<StrValue<'a>>>,
2929
#[serde(default, borrow, skip_serializing_if = "Option::is_none")]
3030
pub(crate) source_root: Option<StrValue<'a>>,

0 commit comments

Comments
 (0)