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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace CJS-only build with ESM and CJS w/o NODE_ENV #66

Merged
merged 4 commits into from
Mar 17, 2021
Merged

Conversation

kitten
Copy link
Contributor

@kitten kitten commented Mar 15, 2021

Fix #23

NOTE: This can't safely use package.json:exports since react isn't
an ESM build and this would lead to issues as per the standard ESM
module resolution which must start only resolving .mjs by default
once it hits an ESM package.
@codecov-io
Copy link

codecov-io commented Mar 17, 2021

Codecov Report

Merging #66 (b5b7b7b) into master (71a2812) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #66   +/-   ##
=======================================
  Coverage   95.93%   95.93%           
=======================================
  Files          12       12           
  Lines         516      516           
  Branches       90       89    -1     
=======================================
  Hits          495      495           
  Misses         19       19           
  Partials        2        2           
Impacted Files Coverage Δ
src/visitor.js 95.19% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 71a2812...b5b7b7b. Read the comment docs.

@kitten kitten merged commit a7ba5af into master Mar 17, 2021
@kitten kitten deleted the chore/esm-build branch March 17, 2021 12:59
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.

When the page loads I see function reactDom(__x3) { return __ref2.apply(this, arguments) } ?
3 participants