diff --git a/packages/vertex-sdk/build b/packages/vertex-sdk/build index 23c1d98d..3bb0ece2 100644 --- a/packages/vertex-sdk/build +++ b/packages/vertex-sdk/build @@ -28,6 +28,7 @@ npm exec tsc-multi # No way to get that from index.ts because it would cause compile errors # when building .mjs DIST_PATH=./dist node ../../scripts/utils/fix-index-exports.cjs + # with "moduleResolution": "nodenext", if ESM resolves to index.d.ts, # it'll have TS errors on the default import. But if it resolves to # index.d.mts the default import will work (even though both files have