Skip to content

Commit f33b0bc

Browse files
authoredFeb 21, 2025··
refactor(atoms): Remove JsWord alias (#10071)
**Description:** This is a refactoring I always wanted to do
1 parent 1771222 commit f33b0bc

File tree

127 files changed

+518
-514
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+518
-514
lines changed
 

‎.changeset/silly-chefs-deliver.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
swc_atoms: major
3+
---
4+
5+
refactor(atoms): Remove `JsWord` alias

‎bindings/binding_core_node/src/bundle.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use napi::{
1111
use rustc_hash::FxHashMap;
1212
use serde::Deserialize;
1313
use swc_core::{
14-
atoms::JsWord,
14+
atoms::Atom,
1515
base::{
1616
config::SourceMapsConfig,
1717
resolver::{environment_resolver, paths_resolver},
@@ -61,7 +61,7 @@ impl Task for BundleTask {
6161
NODE_BUILTINS
6262
.iter()
6363
.copied()
64-
.map(JsWord::from)
64+
.map(Atom::from)
6565
.collect::<Vec<_>>()
6666
} else {
6767
Vec::new()

0 commit comments

Comments
 (0)
Please sign in to comment.