Skip to content

Conversation

@kentcdodds
Copy link
Owner

What:

Code that's being prevaled will no longer be transpiled. You should either transpile it ahead of time or only write the code in a version of JavaScript that runs natively in the version of node you're running.

Why:

It cause way too many weird bugs that take a TON of time to track down.

How:

  • Remove the transpile part of transpileAndRequire.
  • Update tests to be a little easier to maintain.
  • Update docs

Checklist:

  • Documentation
  • Tests
  • Ready to be merged
  • Added myself to contributors table N/A

It cause way too many weird bugs that take a TON of time to track down.

BREAKING CHANGE: Code that's being prevaled will no longer be transpiled. You should either transpile it ahead of time or only write the code in a version of JavaScript that runs natively in the version of node you're running.
@kentcdodds kentcdodds force-pushed the pr/stop-transpiling branch from cc08dfb to 7498a95 Compare June 27, 2018 21:38
@codecov
Copy link

codecov bot commented Jun 27, 2018

Codecov Report

Merging #59 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #59   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           4      4           
  Lines         108    106    -2     
  Branches       22     22           
=====================================
- Hits          108    106    -2
Impacted Files Coverage Δ
src/index.js 100% <100%> (ø) ⬆️
src/helpers.js 100% <100%> (ø) ⬆️

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 d8be253...7498a95. Read the comment docs.

@kentcdodds kentcdodds merged commit b0f94b9 into master Jun 27, 2018
@kentcdodds kentcdodds deleted the pr/stop-transpiling branch June 27, 2018 21:42
@kentcdodds
Copy link
Owner Author

🎉 This PR is included in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants