* Print import attributes * Update visitor keys for import attributes * Update snapshots for visitor-keys * Update `babel-plugins` tests * Update import attributes tests * Update misc tests * Add changelog * Enable `importAttributes` and `importAssertions` * Print ImportAssertion syntax * Add `babel-plugins` tests * Add import assertions tests * Add misc tests for import assertions * Update changelog * Fix words * Use `deprecatedAssertSyntax` * Update `@babel/parser` * Use deprecatedAssertSyntax * Remove needless tests * Update `@babel/types` * Update visitor-keys * Run `yarn dedupe` * Update src/language-js/print/module.js Co-authored-by: Nicolò Ribaudo <hello@nicr.dev> * Address review --------- Co-authored-by: Nicolò Ribaudo <hello@nicr.dev>
8 lines
257 B
JavaScript
8 lines
257 B
JavaScript
export * as foo from "foo.json"
|
|
export * as bar from "bar.json" with { }
|
|
export * as baz from "baz.json" with { /* comment */ }
|
|
|
|
import * as foo from "foo.json"
|
|
import * as bar from "bar.json" with { }
|
|
import * as baz from "baz.json" with { /* comment */ }
|