vite-plugin-remote-assets
v0.5.0
Published
Bundles your assets from remote urls with your app
Downloads
13,036
Readme
vite-plugin-remote-assets
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" />
Install
npm i -D vite-plugin-remote-assets
// vite.config.ts
import RemoteAssets from 'vite-plugin-remote-assets'
export default {
plugins: [
RemoteAssets()
]
}
Sponsors
License
MIT License © 2021 Anthony Fu