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

fix: update outdated react url #817

Merged
merged 3 commits into from Apr 23, 2018
Merged

fix: update outdated react url #817

merged 3 commits into from Apr 23, 2018

Conversation

ganes1410
Copy link
Contributor

fixes #816

minify

The above image shows the script successfully running.

@ganes1410 ganes1410 requested a review from boopathi as a code owner April 5, 2018 16:22
@@ -20,7 +20,6 @@ const butternut = require("butternut");

const ASSETS_DIR = path.join(__dirname, "benchmark_cache");
const DEFAULT_ASSETS = {
"react.js": "https://unpkg.com/react/dist/react.js", // 120 kb
Copy link
Member

Choose a reason for hiding this comment

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

we would like to keep react as a dep here since we use it for smoke tests.

So please update with the new URL instead of removing it. You can find the relevant code here https://unpkg.com/react@16.3.1/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vigneshshanmugam should i update it with react.development.js or react.production.js ??

Copy link
Member

Choose a reason for hiding this comment

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

use development.js

@boopathi boopathi changed the title Remove outdated react url fix: replace outdated react url Apr 8, 2018
@boopathi boopathi changed the title fix: replace outdated react url fix: update outdated react url Apr 8, 2018
@@ -20,7 +20,7 @@ const butternut = require("butternut");

const ASSETS_DIR = path.join(__dirname, "benchmark_cache");
const DEFAULT_ASSETS = {
"react.js": "https://unpkg.com/react/dist/react.js", // 120 kb
"react.js":"https://unpkg.com/react@16.3.1/umd/react.development.js",
Copy link
Member

Choose a reason for hiding this comment

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

  • lint issue, add space before.
  • add no of bytes at the end

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vigneshshanmugam i made required changes.sorry for the delay

@vigneshshanmugam vigneshshanmugam merged commit b5bafae into babel:master Apr 23, 2018
@vigneshshanmugam
Copy link
Member

Thanks @ganes1410

@boopathi boopathi added the Tag: Docs Pull Request updating Documentation label May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tag: Docs Pull Request updating Documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Outdated Benchmark URLs
3 participants