Post

In the latest version of @rolldown.rs, JSON imports are tree-shaken! No more superfluous JSON values in your bundle, only these that you actually access. Without any change of code or config ✨ Interested in the code? Then check out the PR! github.com/rolldown/rol...

3 reposts76 likes

Is it better for performance to convert the JSON to JavaScript values or keep it as JSON in the bundle and parse on the client? I’ve seen differing opinions.