fireproof-storage / fireproof-storage/fireproof
Fireproof import returns `undefined` with Parcel bundler
- Dominant language
- TypeScript
- Stars
- 973
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
When attempting to import `fireproof` from `@fireproof/core` using Parcel bundler, the imported value is `undefined`.
## Reproduction
### Environment
- @fireproof/core: ^0.19.112
- Parcel: ^2.13.0
### Steps to Reproduce
1. Create a new project with the following package.json:
```json
{
"dependencies": {
"@fireproof/core": "^0.19.112",
"parcel": "^2.13.0"
},
"scripts": {
"start": "parcel index.html"
}
}
```
2. Add the following code:
```javascript
import { fireproof } from '@fireproof/core'
console.log(fireproof === undefined)
```
```html
```
3. Run `npm start`
## Expected Behavior
The `fireproof` import should be a defined value containing the Fireproof functionality.
## Actual Behavior
The `fireproof` import is `undefined`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.