Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sqlite] Support import expo-sqlite/next from ESM project #27423

Merged
merged 2 commits into from Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/expo-sqlite/CHANGELOG.md
Expand Up @@ -10,6 +10,8 @@

### 🐛 Bug fixes

- Fixed `expo-sqlite/next` cannot be imported from an ESM project. ([#27423](https://github.com/expo/expo/pull/27423) by [@kudo](https://github.com/kudo))

### 💡 Others

## 13.2.2 - 2024-01-25
Expand Down
10 changes: 10 additions & 0 deletions packages/expo-sqlite/package.json
Expand Up @@ -5,6 +5,16 @@
"main": "build/index.js",
"types": "build/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"default": "./build/index.js",
"types": "./build/index.d.ts"
},
"./next": {
"default": "./build/next/index.js",
"types": "./build/next/index.d.ts"
}
},
"scripts": {
"build": "expo-module build",
"clean": "expo-module clean",
Expand Down