We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 651af9b commit 754a910Copy full SHA for 754a910
build.config.ts
@@ -13,4 +13,9 @@ export default defineBuildConfig({
13
alias: {
14
"capnp-es": fileURLToPath(new URL("src/index.ts", import.meta.url)),
15
},
16
+ hooks: {
17
+ "rollup:options"(_ctx, rollupOptions) {
18
+ rollupOptions.external = ["typescript"];
19
+ },
20
21
});
package.json
@@ -46,9 +46,6 @@
46
"test": "pnpm lint && vitest run --coverage && pnpm test:types",
47
"test:types": "tsc --noEmit --skipLibCheck"
48
49
- "dependencies": {
50
- "hex2dec": "^1.1.2"
51
- },
52
"devDependencies": {
53
"@types/benchmark": "^2.1.5",
54
"@types/hex2dec": "^1.1.4",
@@ -61,6 +58,7 @@
61
58
"esbuild": "^0.24.2",
62
59
"eslint": "^9.18.0",
63
60
"eslint-config-unjs": "^0.4.2",
+ "hex2dec": "^1.1.2",
64
"jiti": "^2.4.2",
65
"mitata": "^1.0.31",
66
"prettier": "^3.4.2",
0 commit comments