File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
packages/angular-query-experimental Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 57
57
"default" : " ./dist/index.mjs"
58
58
},
59
59
"./devtools" : {
60
- "types" : " ./dist/devtools/index.d.ts" ,
60
+ "types" : " ./dist/types/ devtools/index.d.ts" ,
61
61
"development" : " ./dist/devtools/index.mjs" ,
62
62
"default" : " ./dist/devtools/stub.mjs"
63
63
},
64
64
"./devtools/production" : {
65
- "types" : " ./dist/devtools/production/index.d.ts" ,
65
+ "types" : " ./dist/types/ devtools/production/index.d.ts" ,
66
66
"default" : " ./dist/devtools/index.mjs"
67
67
},
68
68
"./devtools-panel" : {
69
- "types" : " ./dist/devtools-panel/index.d.ts" ,
69
+ "types" : " ./dist/types/ devtools-panel/index.d.ts" ,
70
70
"development" : " ./dist/devtools-panel/index.mjs" ,
71
71
"default" : " ./dist/devtools-panel/stub.mjs"
72
72
},
73
73
"./devtools-panel/production" : {
74
- "types" : " ./dist/devtools-panel/production/index.d.ts" ,
74
+ "types" : " ./dist/types/ devtools-panel/production/index.d.ts" ,
75
75
"default" : " ./dist/devtools-panel/index.mjs"
76
76
},
77
77
"./package.json" : {
Original file line number Diff line number Diff line change @@ -76,8 +76,6 @@ export const tanstackViteConfig = (options: Options) => {
76
76
declarationMap : false ,
77
77
} ,
78
78
beforeWriteFile : ( filePath , content ) => {
79
- // content =
80
- // options.beforeWriteDeclarationFile?.(filePath, content) || content
81
79
return {
82
80
filePath,
83
81
content : ensureImportFileExtension ( { content, extension : 'js' } ) ,
@@ -114,7 +112,13 @@ export default mergeConfig(
114
112
config ,
115
113
tanstackViteConfig ( {
116
114
cjs : false ,
117
- entry : [ './src/index.ts' ] ,
115
+ entry : [
116
+ './src/index.ts' ,
117
+ './src/devtools-panel/index.ts' ,
118
+ './src/devtools-panel/stub.ts' ,
119
+ './src/devtools/index.ts' ,
120
+ './src/devtools/stub.ts' ,
121
+ ] ,
118
122
exclude : [ 'src/__tests__' ] ,
119
123
srcDir : './src' ,
120
124
tsconfigPath : 'tsconfig.prod.json' ,
You can’t perform that action at this time.
0 commit comments