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

output ES5 code so that we can run the phantomjs tests in webapp #341

Merged
merged 2 commits into from Oct 13, 2018

Conversation

kevinbarabash
Copy link
Member

This will also avoid having to update UglifyJS which also can't handle ES6 code. Upgrading both the phantomjs test runner and UglifyJS as part of the current build system aren't good uses of time given that we'll soon be replacing our current build system and test runner.

@jeresig
Copy link
Member

jeresig commented Oct 12, 2018

Deploy preview for wonder-blocks ready!

Built with commit a0565d8

https://deploy-preview-341--wonder-blocks.netlify.com

@codecov
Copy link

codecov bot commented Oct 12, 2018

Codecov Report

Merging #341 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #341   +/-   ##
=======================================
  Coverage   89.38%   89.38%           
=======================================
  Files         105      105           
  Lines        1479     1479           
  Branches      293      293           
=======================================
  Hits         1322     1322           
  Misses        135      135           
  Partials       22       22

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 10d23c6...a0565d8. Read the comment docs.

"@babel/preset-env",
{
targets: {
node: true,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This allows us to use async/await in our test code without having to load the regenerator runtime.

@somewhatabstract
Copy link
Member

Which change in here actually changes the output to ES5? I don't see it.

Copy link
Member

@somewhatabstract somewhatabstract left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thanks for doing this!

@kevinbarabash kevinbarabash merged commit 13f818a into master Oct 13, 2018
@kevinbarabash kevinbarabash deleted the output_es5_code branch October 13, 2018 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants