Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

"react.js": "https://unpkg.com/react@16.3.1/umd/react.development.js", //56kb
"vue.js": "https://unpkg.com/vue/dist/vue.js", // 230 kb
"lodash.js": "https://unpkg.com/lodash/lodash.js", // 500kb
"three.js": "https://unpkg.com/three/build/three.js" // 1000kb
Expand Down