How do I handle static assets? #52
-
QuestionI want to include .json files and they should also be packaged. Some kind of public folder would be great. My current solution is to copy them over with an external script, is there a better way to do this? Also I can't use dynamic imports for json-files for some reason, assertion fails. Any ideas how to fix that without changing the target to nodeNext? |
Beta Was this translation helpful? Give feedback.
Answered by
privatenumber
Jan 15, 2024
Replies: 1 comment
-
I don't think there's a way to do that now. Feel free to file a feature request! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
privatenumber
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't think there's a way to do that now. Feel free to file a feature request!