Skip to content

fix: update outdated react url#817

Merged
vigneshshanmugam merged 3 commits intobabel:masterfrom
ganes1410:remove-outdated-url
Apr 23, 2018
Merged

fix: update outdated react url#817
vigneshshanmugam merged 3 commits intobabel:masterfrom
ganes1410:remove-outdated-url

Conversation

@ganes1410
Copy link
Copy Markdown
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

const ASSETS_DIR = path.join(__dirname, "benchmark_cache");
const DEFAULT_ASSETS = {
"react.js": "https://unpkg.com/react/dist/react.js", // 120 kb
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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