Skip to content

Commit 0107eec

Browse files
authored
fix(preset-mini): correct tsdown external configuration (#5031)
1 parent 46860e6 commit 0107eec

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

packages-presets/preset-mini/tsdown.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ export default defineConfig({
1212
],
1313
clean: true,
1414
dts: true,
15+
external: [
16+
'@unocss/core',
17+
'@unocss/rule-utils',
18+
'@unocss/extractor-arbitrary-variants',
19+
],
1520
failOnWarn: !isWindows,
1621
attw: {
1722
profile: 'esm-only',

packages-presets/preset-wind3/tsdown.config.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ export default defineConfig({
1414
clean: true,
1515
dts: true,
1616
external: [
17-
'unconfig',
18-
'magic-string',
1917
'@unocss/core',
20-
'@unocss/config',
18+
'@unocss/preset-mini',
19+
'@unocss/rule-utils',
2120
],
2221
})

0 commit comments

Comments
 (0)