astring
astring copied to clipboard
Add support to Estree import attributes
Import attributes is now already in runtimes as Bun for macros and is in stage 3 in Estree, I think it would be nice to support it in astring.
References:
- TC39: https://github.com/tc39/proposal-import-attributes
- Estree: https://github.com/estree/estree/blob/master/stage3/import-attributes.md
True, let's add that.
@davidbonnet I wanted to try to contribute but I am having problems running the tests:
The only thing I have done is npm i && npm test, what I'm missing? As a suggestion, it would be nice to create a CONTRIBUTING.md 😊 file.
BTW; this https://github.com/meriyah/meriyah/pull/280 is the PR of meriyah to support import attributes. It will probably be available in the next release.
This is fixed !