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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: produce commonjs modules #2

Merged
merged 1 commit into from
Mar 8, 2022
Merged

build: produce commonjs modules #2

merged 1 commit into from
Mar 8, 2022

Conversation

gabor
Copy link
Contributor

@gabor gabor commented Mar 8, 2022

the generated javascript file (dist/index.js) should be in "commonjs" format, (the module-system used by nodejs, things like exports.foo = ..., otherwise, when using this module, jest complains.

(we could probably do some cooler things here, building both commonjs and modern js versions of the files and adjusting package.json accordingly, but for now i just want to make things work 馃槃 )

@gabor gabor requested a review from ivanahuckova March 8, 2022 11:20
@gabor gabor merged commit 8cd7ab8 into main Mar 8, 2022
@gabor gabor deleted the gabor/commonjs branch March 8, 2022 11:36
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.

None yet

2 participants