jy0529 / vite-plugin-dynamic-publicpath

Use dynamic import handler to change runtime public base path, like webpack's __webpack_public_path__.
MIT License
46 stars 10 forks source link

This plugin can't works well after Vite2.4.3 #3

Closed wjzheng closed 3 years ago

wjzheng commented 3 years ago

I found the #4096 feature make the plugin can't works well. The preload js url incorrect now.

image

wjzheng commented 3 years ago

set base:'' in vite.config.js can fix this issue.