vue-aurora-x-resolver 1.0.1 → 1.0.2
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.d.mts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +2 -5
- package/dist/index.mjs +2 -5
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
@@ -25,12 +25,10 @@ interface AuroraXResolverOptions {
|
|
25
25
|
declare function AuroraXResolver(options?: AuroraXResolverOptions): (name: string) => {
|
26
26
|
name: string;
|
27
27
|
from: string;
|
28
|
-
sideEffects: string;
|
29
28
|
};
|
30
29
|
declare function AuroraXNoPrefix(options?: Omit<AuroraXResolverOptions, 'prefix'>): (name: string) => {
|
31
30
|
name: string;
|
32
31
|
from: string;
|
33
|
-
sideEffects: string;
|
34
32
|
};
|
35
33
|
|
36
34
|
export { AuroraXNoPrefix, AuroraXResolver, type AuroraXResolverOptions };
|
package/dist/index.d.ts
CHANGED
@@ -25,12 +25,10 @@ interface AuroraXResolverOptions {
|
|
25
25
|
declare function AuroraXResolver(options?: AuroraXResolverOptions): (name: string) => {
|
26
26
|
name: string;
|
27
27
|
from: string;
|
28
|
-
sideEffects: string;
|
29
28
|
};
|
30
29
|
declare function AuroraXNoPrefix(options?: Omit<AuroraXResolverOptions, 'prefix'>): (name: string) => {
|
31
30
|
name: string;
|
32
31
|
from: string;
|
33
|
-
sideEffects: string;
|
34
32
|
};
|
35
33
|
|
36
34
|
export { AuroraXNoPrefix, AuroraXResolver, type AuroraXResolverOptions };
|
package/dist/index.js
CHANGED
@@ -50,9 +50,7 @@ function AuroraXResolver(options = {}) {
|
|
50
50
|
// 返回组件信息
|
51
51
|
name: `Au${componentName}`,
|
52
52
|
// 从包中导入带前缀的组件
|
53
|
-
from: packageName
|
54
|
-
sideEffects: `${packageName}/dist/es/${componentName}/index.css`
|
55
|
-
// 自动导入对应的CSS
|
53
|
+
from: packageName
|
56
54
|
};
|
57
55
|
};
|
58
56
|
}
|
@@ -66,8 +64,7 @@ function AuroraXNoPrefix(options = {}) {
|
|
66
64
|
return;
|
67
65
|
return {
|
68
66
|
name,
|
69
|
-
from: packageName
|
70
|
-
sideEffects: `${packageName}/dist/es/${name}/index.css`
|
67
|
+
from: packageName
|
71
68
|
};
|
72
69
|
};
|
73
70
|
}
|
package/dist/index.mjs
CHANGED
@@ -26,9 +26,7 @@ function AuroraXResolver(options = {}) {
|
|
26
26
|
// 返回组件信息
|
27
27
|
name: `Au${componentName}`,
|
28
28
|
// 从包中导入带前缀的组件
|
29
|
-
from: packageName
|
30
|
-
sideEffects: `${packageName}/dist/es/${componentName}/index.css`
|
31
|
-
// 自动导入对应的CSS
|
29
|
+
from: packageName
|
32
30
|
};
|
33
31
|
};
|
34
32
|
}
|
@@ -42,8 +40,7 @@ function AuroraXNoPrefix(options = {}) {
|
|
42
40
|
return;
|
43
41
|
return {
|
44
42
|
name,
|
45
|
-
from: packageName
|
46
|
-
sideEffects: `${packageName}/dist/es/${name}/index.css`
|
43
|
+
from: packageName
|
47
44
|
};
|
48
45
|
};
|
49
46
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vue-aurora-x-resolver",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.2",
|
4
4
|
"main": "dist/index.js",
|
5
5
|
"module": "dist/index.mjs",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"build": "tsup src/index.ts --format cjs,esm --dts"
|
10
10
|
},
|
11
11
|
"peerDependencies": {
|
12
|
-
"vue-aurora-x": "^1.0.
|
12
|
+
"vue-aurora-x": "^1.0.6"
|
13
13
|
},
|
14
14
|
"devDependencies": {
|
15
15
|
"typescript": "~5.8.2",
|