Skip to content

Commit

Permalink
Fix non bundler module resolution in ts for third-parties pkg (#59244)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi authored Dec 4, 2023
1 parent f05b503 commit 42b8789
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/third-parties/google.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dist/types/index'
6 changes: 4 additions & 2 deletions packages/third-parties/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
"directory": "packages/third-parties"
},
"exports": {
"./google": "./dist/google/index.js"
"./google": {
"types": "./dist/google/index.d.ts",
"default": "./dist/google/index.js"
}
},
"types": "dist/types/google.d.ts",
"files": [
"dist"
],
Expand Down

0 comments on commit 42b8789

Please # to comment.