-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
I am attempting to use the contentful-export library in an ESM environment. While the library functions correctly when imported using CommonJS syntax, it fails to work when imported as an ES module.
Working Example (CommonJS):
const contentfulExport = require('contentful-export');Failing Example (ESM):
import contentfulExport from 'contentful-export';Expected Behavior:
- The library should support ESM imports seamlessly, allowing usage in modern JavaScript projects configured for ES modules.
Actual Behavior:
- When attempting to use the ESM syntax, the library does not function as expected.
Additional Context:
- Node.js Version: v22.13.0
- contentful-export Version: 7.21.14
kamaz and lakaniemi
Metadata
Metadata
Assignees
Labels
No labels