File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments