@seayoo-web/scripts 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/types/src/vite.lab.d.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -49,7 +49,7 @@ function defineLibBuildConfig(option) {
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
rollupOptions: {
|
|
52
|
-
external: option?.external || [/^@seayoo-web\/(?:request|utils|combo-webview)/]
|
|
52
|
+
external: option?.external || [/^@seayoo-web\/(?:request|utils|combo-webview|validator)/]
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
};
|
package/package.json
CHANGED
package/types/src/vite.lab.d.ts
CHANGED
|
@@ -4,13 +4,13 @@ interface LibBuildOption {
|
|
|
4
4
|
outDir?: string;
|
|
5
5
|
/** 入口文件,默认为 "index.ts" */
|
|
6
6
|
rootEntry?: string;
|
|
7
|
-
/** 要排除的工具包,默认排除 "@seayoo-web/request"、"@seayoo-web/utils" 和 "@seayoo-web/combo-webview" */
|
|
7
|
+
/** 要排除的工具包,默认排除 "@seayoo-web/request"、"@seayoo-web/utils"、"@seayoo-web/validator" 和 "@seayoo-web/combo-webview" */
|
|
8
8
|
external?: string[];
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* 导出一个动态的配置工厂函数用于 lib 类工具的编译配置
|
|
12
12
|
*
|
|
13
|
-
* 默认排除 "@seayoo-web/request"、"@seayoo-web/utils"、"@seayoo-web/combo-webview" 不打包
|
|
13
|
+
* 默认排除 "@seayoo-web/request"、"@seayoo-web/utils"、"@seayoo-web/validator"、"@seayoo-web/combo-webview" 不打包
|
|
14
14
|
*/
|
|
15
15
|
export declare function defineLibBuildConfig(option?: LibBuildOption): UserConfig;
|
|
16
16
|
export {};
|