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

transformer is renaming .json files to .json.cjs #15

Open
emahuni opened this issue Jan 23, 2023 · 0 comments · May be fixed by #17
Open

transformer is renaming .json files to .json.cjs #15

emahuni opened this issue Jan 23, 2023 · 0 comments · May be fixed by #17

Comments

@emahuni
Copy link

emahuni commented Jan 23, 2023

The transformer is renaming .json files that it is not supposed to. EG:

import users from './users.json'

the result comes as

import users from './users.json.cjs'

the expected result is that it shouldn't touch anything that is not js.

import users from './users.json'

and on top of that the file doesn't exist in the dist dir.

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 a pull request may close this issue.

1 participant