Skip to content

Added ESM support #16

Open
Sibam-Paul wants to merge 4 commits into
zendalona:masterfrom
Sibam-Paul:master
Open

Added ESM support #16
Sibam-Paul wants to merge 4 commits into
zendalona:masterfrom
Sibam-Paul:master

Conversation

@Sibam-Paul

Copy link
Copy Markdown

Description:-

This feature adds ESM support to the project for better browser JavaScript ecosystem.

  • Enables import , export statements instead of require
  • Fixed the working of the project with the feature added

- Moved partitionCards and delayedCode implementations to regular functions.
- In delayedCode, directly call partitionCards instead of using module.exports.
- Exported both functions via a default export.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant