File tree Expand file tree Collapse file tree
packages/angular-query-experimental Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 "default" : " ./dist/index.mjs"
5858 },
5959 "./devtools" : {
60- "types" : " ./dist/devtools/index.d.ts" ,
60+ "types" : " ./dist/types/ devtools/index.d.ts" ,
6161 "development" : " ./dist/devtools/index.mjs" ,
6262 "default" : " ./dist/devtools/stub.mjs"
6363 },
6464 "./devtools/production" : {
65- "types" : " ./dist/devtools/production/index.d.ts" ,
65+ "types" : " ./dist/types/ devtools/production/index.d.ts" ,
6666 "default" : " ./dist/devtools/index.mjs"
6767 },
6868 "./devtools-panel" : {
69- "types" : " ./dist/devtools-panel/index.d.ts" ,
69+ "types" : " ./dist/types/ devtools-panel/index.d.ts" ,
7070 "development" : " ./dist/devtools-panel/index.mjs" ,
7171 "default" : " ./dist/devtools-panel/stub.mjs"
7272 },
7373 "./devtools-panel/production" : {
74- "types" : " ./dist/devtools-panel/production/index.d.ts" ,
74+ "types" : " ./dist/types/ devtools-panel/production/index.d.ts" ,
7575 "default" : " ./dist/devtools-panel/index.mjs"
7676 },
7777 "./package.json" : {
Original file line number Diff line number Diff line change @@ -76,8 +76,6 @@ export const tanstackViteConfig = (options: Options) => {
7676 declarationMap : false ,
7777 } ,
7878 beforeWriteFile : ( filePath , content ) => {
79- // content =
80- // options.beforeWriteDeclarationFile?.(filePath, content) || content
8179 return {
8280 filePath,
8381 content : ensureImportFileExtension ( { content, extension : 'js' } ) ,
@@ -114,7 +112,15 @@ export default mergeConfig(
114112 config ,
115113 tanstackViteConfig ( {
116114 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-panel/production/index.ts',
120+ './src/devtools/index.ts' ,
121+ './src/devtools/stub.ts' ,
122+ // './src/devtools/production/index.ts',
123+ ] ,
118124 exclude : [ 'src/__tests__' ] ,
119125 srcDir : './src' ,
120126 tsconfigPath : 'tsconfig.prod.json' ,
You can’t perform that action at this time.
0 commit comments