@umijs/bundler-vite 4.0.26 → 4.0.27
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/config/transformer/alias.d.ts +1 -1
- package/dist/config/transformer/css.d.ts +1 -1
- package/dist/config/transformer/define.d.ts +1 -1
- package/dist/config/transformer/index.d.ts +1 -1
- package/dist/config/transformer/merge.d.ts +1 -1
- package/dist/config/transformer/react.d.ts +1 -1
- package/dist/config/transformer/rename.d.ts +1 -1
- package/dist/config/transformer/rollup.d.ts +1 -1
- package/dist/config/transformer/target.d.ts +1 -1
- package/dist/plugins/index.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { IConfigProcessor } from '.';
|
|
2
2
|
export declare function getBrowserlist(targets: Record<string, string | boolean>): string | string[];
|
|
3
|
-
declare const _default: IConfigProcessor;
|
|
4
3
|
/**
|
|
5
4
|
* transform umi css pre-processor configs to vite postcss config
|
|
6
5
|
* @note include configs:
|
|
@@ -11,4 +10,5 @@ declare const _default: IConfigProcessor;
|
|
|
11
10
|
* - lessLoader
|
|
12
11
|
* - theme
|
|
13
12
|
*/
|
|
13
|
+
declare const _default: IConfigProcessor;
|
|
14
14
|
export default _default;
|
|
@@ -4,8 +4,8 @@ declare type ITmpUserConfig = Record<string, any>;
|
|
|
4
4
|
* type of config processor
|
|
5
5
|
*/
|
|
6
6
|
export declare type IConfigProcessor = (userConfig: ITmpUserConfig, currentViteConfig: Partial<ViteInlineConfig>) => Partial<ViteInlineConfig>;
|
|
7
|
-
declare const _default: (userConfig: ITmpUserConfig) => ViteInlineConfig;
|
|
8
7
|
/**
|
|
9
8
|
* config transformer
|
|
10
9
|
*/
|
|
10
|
+
declare const _default: (userConfig: ITmpUserConfig) => ViteInlineConfig;
|
|
11
11
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { IConfigProcessor } from '.';
|
|
2
|
-
declare const _default: IConfigProcessor;
|
|
3
2
|
/**
|
|
4
3
|
* transform umi configs to vite rollup options
|
|
5
4
|
* @note include configs:
|
|
@@ -8,4 +7,5 @@ declare const _default: IConfigProcessor;
|
|
|
8
7
|
* - analyze
|
|
9
8
|
* - copy
|
|
10
9
|
*/
|
|
10
|
+
declare const _default: IConfigProcessor;
|
|
11
11
|
export default _default;
|
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InlineConfig as ViteInlineConfig } from '../../compiled/vite';
|
|
2
2
|
import type { IConfig } from '../types';
|
|
3
|
-
declare const _default: (userConfig: IConfig) => ViteInlineConfig;
|
|
4
3
|
/**
|
|
5
4
|
* config with plugins
|
|
6
5
|
*/
|
|
6
|
+
declare const _default: (userConfig: IConfig) => ViteInlineConfig;
|
|
7
7
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/bundler-vite",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.27",
|
|
4
4
|
"description": "@umijs/bundler-vite",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/bundler-vite#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@svgr/core": "6.2.1",
|
|
29
|
-
"@umijs/bundler-utils": "4.0.
|
|
30
|
-
"@umijs/utils": "4.0.
|
|
29
|
+
"@umijs/bundler-utils": "4.0.27",
|
|
30
|
+
"@umijs/utils": "4.0.27",
|
|
31
31
|
"@vitejs/plugin-react": "1.2.0",
|
|
32
32
|
"postcss-preset-env": "7.5.0",
|
|
33
33
|
"rollup-plugin-visualizer": "5.6.0"
|