Design comparison
SolutionDesign
Solution retrospective
Hey guys I'm currently learning Svelte.😎
When I'm trying to import images or json files via external js file in svelte,it is not working in build production. But it is working perfectly in dev mode.😥
I even commented on my svelte file for the above approach to access js files. Kindly take a look😊.
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord