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

Import Attributes syntax parsing #153

Closed
thescientist13 opened this issue Apr 10, 2024 · 0 comments · Fixed by #157
Closed

Import Attributes syntax parsing #153

thescientist13 opened this issue Apr 10, 2024 · 0 comments · Fixed by #157
Assignees
Labels
0.13.0 feature New feature or request
Milestone

Comments

@thescientist13
Copy link
Member

Summary

In conjunction with #152 and ProjectEvergreen/greenwood#923, it would be great to get the needed support in for Import Attributes syntax into WCC's parser.

import data from './data.json' with { type: 'json' }
import sheet from './styles.css' with { type: 'css' }

Details

This will require pulling in some additional acorn plugins to help out with the parsing for the time being.

@thescientist13 thescientist13 added feature New feature or request 0.13.0 labels Apr 10, 2024
@thescientist13 thescientist13 added this to the 1.0 milestone Apr 10, 2024
@thescientist13 thescientist13 self-assigned this Apr 10, 2024
@thescientist13 thescientist13 changed the title support import attributes syntax support import attributes syntax parsing Apr 10, 2024
@thescientist13 thescientist13 changed the title support import attributes syntax parsing Import Attributes syntax parsing Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.13.0 feature New feature or request
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant