haifeng2013 / rollup-plugin-bundle-html

MIT License
27 stars 11 forks source link

Add prefix option to deploy on CDN #20

Closed MonFig closed 5 years ago

MonFig commented 5 years ago

I add a prefix option to make sure we can reset the prefix if we want to push the files into CDN after building.

In my case, I would build the bundle files first and then upload them to CDN. I should use a online url instead of a relative file path. Current options might cover the case too but are not so elegant.