New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

vite-plugin-remote-scripts

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-remote-scripts

Bundles your styles or scripts from remote urls with your app

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

vite-plugin-remote-scripts

Bundles your styles or scripts from remote urls with your app.

<script data-remote-script src="http://example.com/library.js"></script>

To

<img src="./node_modules/.remote-scripts/remote-script.c3b8e480.js" />

Install

npm i vite-plugin-remote-scripts -D
// vite.config.ts
import RemoteScripts from 'vite-plugin-remote-scripts'

export default {
  plugins: [
    RemoteScripts()
  ]
}

License

MIT License © 2022

Keywords

vite-plugin

FAQs

Package last updated on 12 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts