vite icon indicating copy to clipboard operation
vite copied to clipboard

Question: Support for overriding chunk loading

Open wilcoxmd opened this issue 5 months ago • 7 comments

Hi! Great work on this!

Is it possible yet to support overriding how chunks are loaded? I was taking a look at this package and trying to work out whether we could support Node.js environments. Doing so may require some additional customization in order to add headers or perform other operations to do server-side chunk loading. From what I've gathered, it looks like the webpack/node federation plugins allow you to override globalThis.webpackChunkLoad to accomplish this.

wilcoxmd avatar Sep 25 '24 16:09 wilcoxmd