Skip to content

Conversation

orgads
Copy link
Contributor

@orgads orgads commented May 19, 2025

Description

Importing json files from js fails to parse.

Linked Issues

Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

plugins: [
swc.rollup(),
],
})).rejects.toThrow(' x Expected \';\', got \'with\'')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should be changed to resolves of course.

@orgads
Copy link
Contributor Author

orgads commented May 19, 2025

Setting importAttributes: true, in jsc.parser solves this. Does it make sense to add an option for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant