We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
swc_atoms
swc_core::atoms
1 parent 47c22df commit c1e32faCopy full SHA for c1e32fa
2 files changed
.changeset/wild-squids-cheer.md
@@ -0,0 +1,6 @@
1
+---
2
+swc_core: patch
3
+swc_ecma_quote_macros: patch
4
5
+
6
+fix(es/quote): Replace usage of `swc_atoms` with `swc_core::atoms`
crates/swc_ecma_quote_macros/src/ast/lit.rs
@@ -41,7 +41,7 @@ impl ToCode for Atom {
41
impl ToCode for Wtf8Atom {
42
fn to_code(&self, _: &Ctx) -> syn::Expr {
43
let bytes_literal = LitByteStr::new(self.as_bytes(), Span::call_site());
44
- parse_quote!(unsafe { swc_atoms::Wtf8Atom::from_bytes_unchecked(#bytes_literal) })
+ parse_quote!(unsafe { swc_core::atoms::Wtf8Atom::from_bytes_unchecked(#bytes_literal) })
45
}
46
47
0 commit comments