Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Dec 29, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…6284)

## Summary
Fixes ES module loading error in Node.js environments (particularly AWS
Lambda) by adding `"type": "module"` to the `@tinacms/auth`
package.json.

## Problem
The package was generating ES module syntax (`export`) in the built
output but was missing the `"type": "module"` field in package.json,
causing Node.js to treat it as CommonJS and throw:
```
ERROR  Warning: Failed to load the ES module: /var/task/node_modules/@tinacms/auth/dist/index.js
ERROR  ⨯ SyntaxError: Unexpected token 'export'
```

Resolves #6239

---------

Co-authored-by: Claude Sonnet 4.5 <[email protected]>
@pull pull bot locked and limited conversation to collaborators Dec 29, 2025
@pull pull bot added the ⤵️ pull label Dec 29, 2025
@pull pull bot merged commit f2dd173 into code:main Dec 29, 2025
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant