@soybeanjs/oxc-config 0.0.3 → 0.0.4
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 +18 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,42 +2,42 @@
|
|
|
2
2
|
var external = [
|
|
3
3
|
"vite",
|
|
4
4
|
"@vitejs/**",
|
|
5
|
-
"vite
|
|
5
|
+
"vite-**",
|
|
6
6
|
"tsdown",
|
|
7
|
-
"unplugin-*",
|
|
8
7
|
"vitest",
|
|
9
8
|
"@vitest/**",
|
|
10
9
|
"playwright",
|
|
10
|
+
"unplugin-**",
|
|
11
11
|
"cypress",
|
|
12
12
|
"vue",
|
|
13
13
|
"@vue/**",
|
|
14
14
|
"vue-router",
|
|
15
15
|
"vue-router/**",
|
|
16
16
|
"@vueuse/**",
|
|
17
|
-
"vue
|
|
17
|
+
"vue-**",
|
|
18
18
|
"nuxt",
|
|
19
19
|
"@nuxt/**",
|
|
20
|
-
"nuxt
|
|
20
|
+
"nuxt-**",
|
|
21
21
|
"react",
|
|
22
22
|
"react-dom",
|
|
23
23
|
"@react/**",
|
|
24
|
-
"react
|
|
24
|
+
"react-**",
|
|
25
25
|
"next",
|
|
26
26
|
"@next/**",
|
|
27
27
|
"pinia",
|
|
28
|
-
"pinia
|
|
28
|
+
"pinia-**",
|
|
29
29
|
"zustand",
|
|
30
30
|
"jotai",
|
|
31
31
|
"unocss",
|
|
32
32
|
"unocss/**",
|
|
33
33
|
"@unocss/**",
|
|
34
|
-
"unocss
|
|
34
|
+
"unocss-**",
|
|
35
35
|
"tailwindcss",
|
|
36
36
|
"@tailwindcss/**",
|
|
37
|
-
"tailwind
|
|
37
|
+
"tailwind-**",
|
|
38
38
|
"postcss",
|
|
39
39
|
"@postcss/**",
|
|
40
|
-
"postcss
|
|
40
|
+
"postcss-**",
|
|
41
41
|
"@soybeanjs/**",
|
|
42
42
|
"nuxt-ui",
|
|
43
43
|
"element-plus",
|
|
@@ -126,6 +126,15 @@ external.forEach((item, index) => {
|
|
|
126
126
|
elementNamePattern: [item],
|
|
127
127
|
selector: "external"
|
|
128
128
|
});
|
|
129
|
+
if (item.endsWith("-**")) {
|
|
130
|
+
const _groupName = `external-subpath-${index}`;
|
|
131
|
+
externalGroupNames.push(_groupName);
|
|
132
|
+
customGroups.push({
|
|
133
|
+
groupName: _groupName,
|
|
134
|
+
elementNamePattern: [item.concat("/**")],
|
|
135
|
+
selector: "external"
|
|
136
|
+
});
|
|
137
|
+
}
|
|
129
138
|
});
|
|
130
139
|
internal.forEach((item, index) => {
|
|
131
140
|
const groupName = `internal-${index}`;
|