Skip to content

Conversation

@kabszac
Copy link

@kabszac kabszac commented Aug 3, 2023

Added "type": "module" to package.json.

this closes #138

@hg-pyun
Copy link
Owner

hg-pyun commented Aug 11, 2023

@kabszac

Supporting dual packages is not simple. The commit below is the process I tried. To support dual package, you must build with cjs and esm and set it up through separate export fields. This may require a separate build pipeline.

b14bab5

@kabszac
Copy link
Author

kabszac commented Aug 16, 2023

@hg-pyun
Sorry I didn't get you well on how to about it

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.

Support Dual Package

2 participants