Skip to content

Commit e1e52d3

Browse files
committed
feat: enable ESM support via dual-publishing
- Configure tsdown to build both CJS and ESM outputs. - Update package.json exports to support both 'require' and 'import'. - Fix type hygiene issues by using explicit 'export type'. - Update protos/update.sh to generate ESM version of compiledFirestore. - Configure build aliases to handle relative paths to protos correctly.
1 parent f054321 commit e1e52d3

File tree

15 files changed

+4710
-268
lines changed

15 files changed

+4710
-268
lines changed

.eslintignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ node_modules
99
/dist/
1010
/spec/fixtures
1111
/scripts/**/*.js
12-
/protos/
12+
protos/compiledFirestore.js
13+
protos/compiledFirestore.mjs
14+
protos/compiledFirestore.d.ts

0 commit comments

Comments
 (0)