Socket
Socket
Sign inDemoInstall

vite-plugin-fast-external

Package Overview
Dependencies
0
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.4.0

index.js

15

package.json
{
"name": "vite-plugin-fast-external",
"version": "1.3.0",
"version": "1.4.0",
"description": "An tiny and fast external plugin for vite.",
"main": "dist/index.js",
"main": "index.js",
"repository": "https://github.com/caoxiemeihao/vite-plugins/tree/main/packages/fast-external",
"author": "草鞋没号 <308487730@qq.com>",
"license": "MIT",
"scripts": {
"build": "rm -rf dist && tsc"
},
"scripts": {},
"devDependencies": {

@@ -18,9 +16,2 @@ "@types/node": "^16.11.6",

},
"files": [
"dist",
"src",
"package.json",
"tsconfig.json",
"README.md"
],
"keywords": [

@@ -27,0 +18,0 @@ "vite",

3

README.md

@@ -25,2 +25,3 @@ # vite-plugin-fast-external

// use string
// will generate code `const vue = window['Vue']; export { vue as default }`
vue: 'Vue',

@@ -42,3 +43,3 @@ // custom external code by function

* @default 'esm'
* esm will generate code - const vue = window['Vue']; export { vue as default };
* esm will generate code - const vue = window['Vue']; export { vue as default }
* cjs will generate code - const vue = window['Vue']; module.exports = vue;

@@ -45,0 +46,0 @@ */

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc