Skip to content

Commit 4d3fcb8

Browse files
authoredAug 28, 2023
feat(es/ast): Support import attributes proposal (#7868)
**Related issue:** - Closes #7179
1 parent 5d25307 commit 4d3fcb8

File tree

515 files changed

+12048
-844
lines changed

Some content is hidden

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

515 files changed

+12048
-844
lines changed
 

‎crates/swc/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ impl Compiler {
11101110
jsx: true,
11111111
decorators: true,
11121112
decorators_before_export: true,
1113-
import_assertions: true,
1113+
import_attributes: true,
11141114
..Default::default()
11151115
}),
11161116
IsModule::Bool(true),

‎crates/swc_bundler/src/bundler/chunk/computed_key.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ where
8484
specifiers: vec![specifier],
8585
src: None,
8686
type_only: false,
87-
asserts: None,
87+
with: None,
8888
})),
8989
));
9090
}

0 commit comments

Comments
 (0)