Skip to content

Commit e3b75d9

Browse files
authored
Merge pull request #175 from lambda-curry/changeset-release/main
2 parents 6c7cfc2 + ec54ecb commit e3b75d9

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

packages/components/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"name": "@lambdacurry/forms",
33
"version": "0.22.6",
44
"type": "module",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/lambda-curry/forms.git"
8+
},
59
"main": "./dist/index.js",
610
"types": "./dist/index.d.ts",
711
"exports": {

packages/components/vite.config.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,15 @@ export default defineConfig({
2626
input: Object.fromEntries(
2727
glob
2828
.sync('src/**/*.{ts,tsx}', {
29-
ignore: ['src/**/*.d.ts'],
29+
ignore: [
30+
'src/**/*.d.ts',
31+
'src/**/core/types.ts', // Exclude type-only files to avoid empty chunks
32+
],
33+
})
34+
.filter((file) => {
35+
// Exclude files that are likely type-only (e.g., files that only export types)
36+
// This prevents empty chunk warnings
37+
return !file.includes('/core/types');
3038
})
3139
.map((file) => [
3240
// The name of the entry point

0 commit comments

Comments
 (0)