VoidZero @voidzero.dev · Nov 21

Having a hard time to get a URL for your (relative) assets after bundling? Then you will enjoy the experimental `resolveNewUrlToAsset` option that is available in @rolldown.rs. All you need to do is to activate it, and all `new URL('./path/to/file', import.meta.url)` calls will be updated.

22 likes 1 replies

?

Replies

VoidZero · Nov 21

Wanna give it a try yourself? Then head to our REPL repl.rolldown.rs#eNptUL1qwzAQ...