Want to treat json as js #19130
rawasaditya
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Vite hook does not invoke for code content in *.json file, I have a json file which has javascript code in it, I have disabled vite:json for time being I want to do some business in resolveId hook but since its json files resovleId does not invoke for files imported in json ( Is javascript code in it )
PS: I have these json files imported in root file
Beta Was this translation helpful? Give feedback.
All reactions