Bundles your assets from remote URLs with your app
<img src="http://example.com/image.jpg" />To
<img src="/node_modules/.remote-assets/f83j2f.jpg" />npm i -D vite-plugin-remote-assets// vite.config.ts
import RemoteAssets from 'vite-plugin-remote-assets'
export default {
plugins: [
RemoteAssets()
]
}MIT License © 2021 Anthony Fu