We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e36915a commit 7752238Copy full SHA for 7752238
crates/rolldown_common/src/file_emitter.rs
@@ -66,6 +66,8 @@ impl FileEmitter {
66
})
67
.as_bytes(),
68
)
69
+ // The reference id can be used for import.meta.ROLLUP_FILE_URL_referenceId and therefore needs to be a valid identifier.
70
+ .replace('-', "$")
71
.into()
72
}
73
0 commit comments