vite-plugin-fast-external
Advanced tools
Comparing version 1.3.0 to 1.4.0
{ | ||
"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", |
@@ -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 @@ */ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
67
5590
3
113