Skip to content

Commit 8cccb1c

Browse files
committed
fix(pkg): add missing type declarations during build
1 parent c86c7e5 commit 8cccb1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/web-pkg/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
},
1414

1515
// include component types of the design-system
16-
"include": ["../design-system/types.d.ts"]
16+
"include": ["../design-system/types.d.ts", "./web.declarations.d.ts", "./src/**/*"]
1717
}

packages/web-pkg/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ export default defineConfig({
4545
nodePolyfills({
4646
exclude: ['crypto']
4747
}),
48-
dts({ exclude: ['**/tests'] })
48+
dts({ exclude: ['**/tests'], entryRoot: 'src', outDir: 'dist/src' })
4949
]
5050
})

0 commit comments

Comments
 (0)