Skip to content

Commit afb79b2

Browse files
committed
chore(tsdown): update platform to neutral and adjust external dependencies
1 parent a22f016 commit afb79b2

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"update-pkg": "soy ncu"
4545
},
4646
"dependencies": {
47-
"colord": "2.9.3"
47+
"colord": "latest"
4848
},
4949
"devDependencies": {
5050
"@soybeanjs/cli": "1.4.1",

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsdown.config.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ import { defineConfig } from 'tsdown';
22

33
export default defineConfig({
44
entry: ['src/index.ts'],
5-
platform: 'node',
5+
platform: 'neutral',
6+
external: ['colord'],
67
clean: true,
78
dts: true,
89
sourcemap: false,
9-
minify: true,
10-
format: ['esm'],
11-
target: 'node18',
12-
external: ['colord']
10+
minify: true
1311
});

0 commit comments

Comments
 (0)