We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The older import assertion syntax works:
import coolFile from './something.json' assert { type: 'json' }
But acorn does not appear to support the newer import attribute syntax and it will not get added until Stage 4:
import coolFile from './something.json' with { type: 'json' }
PR #104 actually works around this issue by falling back to the parent loader when parsing fails.
The text was updated successfully, but these errors were encountered:
parentLoad
No branches or pull requests
The older import assertion syntax works:
But acorn does not appear to support the newer import attribute syntax and it will not get added until Stage 4:
PR #104 actually works around this issue by falling back to the parent loader when parsing fails.
The text was updated successfully, but these errors were encountered: