tsup-plugin-bundleless
Advanced tools
Comparing version
import { ReplaceTscAliasPathsOptions } from 'tsc-alias'; | ||
interface IBundleless { | ||
disable?: boolean; | ||
/** | ||
* tsc-alias替换后的文件扩展名 | ||
* 默认智能推断 | ||
*/ | ||
ext?: '.js' | '.mjs' | '.cjs'; | ||
@@ -11,2 +16,5 @@ /** | ||
exclude?: (string | RegExp)[]; | ||
/** | ||
* 当前工作目录 | ||
*/ | ||
cwd?: string; | ||
@@ -19,2 +27,5 @@ /** | ||
declare const bundleless: (options?: IBundleless) => { | ||
esbuildPlugins?: undefined; | ||
plugins?: undefined; | ||
} | { | ||
esbuildPlugins: any; | ||
@@ -21,0 +32,0 @@ plugins: any; |
{ | ||
"name": "tsup-plugin-bundleless", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "tsup plugin to bundleless (output as file-to-file)", | ||
@@ -36,8 +36,8 @@ "type": "module", | ||
"dependencies": { | ||
"is-builtin-module": "^4.0.0", | ||
"is-builtin-module": "^5.0.0", | ||
"read-pkg": "^9.0.1", | ||
"resolve": "^1.22.8" | ||
"resolve": "^1.22.10" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^22.5.5", | ||
"@types/node": "^22.15.17", | ||
"@types/resolve": "^1.20.6", | ||
@@ -44,0 +44,0 @@ "tsc-alias": "1.8.10" |
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 too big to display
747582
0.09%20184
0.09%+ Added
+ Added
- Removed
- Removed
Updated
Updated