unplugin-unused
Advanced tools
Comparing version 0.1.4 to 0.1.5
import { | ||
src_default | ||
} from "./chunk-EXANH4WP.js"; | ||
} from "./chunk-YXWAIJW3.js"; | ||
@@ -5,0 +5,0 @@ // src/esbuild.ts |
import { UnpluginInstance } from 'unplugin'; | ||
import { FilterPattern } from '@rollup/pluginutils'; | ||
type DepKind = 'dependencies' | 'devDependencies' | 'peerDependencies'; | ||
interface Options { | ||
@@ -8,3 +9,3 @@ root?: string; | ||
exclude?: FilterPattern; | ||
ignore?: string[]; | ||
ignore?: string[] | Record<DepKind, string[]>; | ||
/** | ||
@@ -17,3 +18,3 @@ * @default 'warning' | ||
*/ | ||
depKinds?: Array<'dependencies' | 'devDependencies' | 'peerDependencies'>; | ||
depKinds?: Array<DepKind>; | ||
} | ||
@@ -20,0 +21,0 @@ |
import { | ||
src_default | ||
} from "./chunk-EXANH4WP.js"; | ||
} from "./chunk-YXWAIJW3.js"; | ||
export { | ||
src_default as default | ||
}; |
import { | ||
src_default | ||
} from "./chunk-EXANH4WP.js"; | ||
} from "./chunk-YXWAIJW3.js"; | ||
@@ -5,0 +5,0 @@ // src/rolldown.ts |
import { | ||
src_default | ||
} from "./chunk-EXANH4WP.js"; | ||
} from "./chunk-YXWAIJW3.js"; | ||
@@ -5,0 +5,0 @@ // src/rollup.ts |
import { | ||
src_default | ||
} from "./chunk-EXANH4WP.js"; | ||
} from "./chunk-YXWAIJW3.js"; | ||
@@ -5,0 +5,0 @@ // src/rspack.ts |
import { | ||
src_default | ||
} from "./chunk-EXANH4WP.js"; | ||
} from "./chunk-YXWAIJW3.js"; | ||
@@ -5,0 +5,0 @@ // src/vite.ts |
import { | ||
src_default | ||
} from "./chunk-EXANH4WP.js"; | ||
} from "./chunk-YXWAIJW3.js"; | ||
@@ -5,0 +5,0 @@ // src/webpack.ts |
{ | ||
"name": "unplugin-unused", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Check unused dependencies.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -23,3 +23,8 @@ # unplugin-unused [![npm](https://img.shields.io/npm/v/unplugin-unused.svg)](https://npmjs.com/package/unplugin-unused) | ||
*/ | ||
ignore: ['vue'], | ||
ignore: { | ||
peerDependencies: ['vue'], | ||
}, | ||
// Or ignore all kinds of dependencies. | ||
// ignore: ['vue'], | ||
/** | ||
@@ -26,0 +31,0 @@ * Dependency kinds to check. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
18312
328
116