Skip to content

Commit 07aaa64

Browse files
committed
fix: Add explicit pkg scripts config for conditional exports
Resolves pkg bundler issue where axios and zod modules with conditional exports weren't being detected and bundled.
1 parent 90cdcff commit 07aaa64

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@
7979
"node": ">=20.0.0"
8080
},
8181
"pkg": {
82+
"scripts": [
83+
"node_modules/axios/dist/**/*.cjs",
84+
"node_modules/axios/dist/**/*.js",
85+
"node_modules/zod/**/*.cjs"
86+
],
8287
"assets": [
8388
"dist/webui/**/*"
8489
],

0 commit comments

Comments
 (0)