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

Question: Plugin not updating base path of assets file in index.html #14

Open darkangel081195 opened 2 years ago

darkangel081195 commented 2 years ago

Question:

Followed the steps as defined in the README and added all the necessary options

After the build is complete, in index.html we have preload links which are present for assets. Those assets are not being served through dynamic base path