Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for printing ImportAttribute #11641

Merged
merged 1 commit into from May 29, 2020

Conversation

existentialism
Copy link
Member

Q                       A
Patch: Bug Fix? Y
Tests Added + Pass? Yes
Any Dependency Changes?
License MIT

Small follow up to #10962!

@existentialism existentialism added PR: Bug Fix 🐛 A type of pull request used for our changelog categories Spec: Import Attributes pkg: generator pkg: types labels May 29, 2020
@babel-bot
Copy link
Collaborator

babel-bot commented May 29, 2020

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/23109/

@codesandbox-ci
Copy link

codesandbox-ci bot commented May 29, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 8306878:

Sandbox Source
laughing-grass-2huc0 Configuration
stoic-blackburn-60t6y Configuration

@@ -0,0 +1 @@
import foo from "foo.json" with type: "json";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add a test case for dynamic import? Though currently it should be supported as well.

import("foo.json", { with: { type: "json" } });

@existentialism existentialism merged commit d7d36a6 into master May 29, 2020
@existentialism existentialism deleted the generator-import-attribute branch May 29, 2020 13:49
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Aug 29, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: generator pkg: types PR: Bug Fix 🐛 A type of pull request used for our changelog categories Spec: Import Attributes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants