Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Dec 26, 2018
1 parent 535f498 commit c6bfad9
Show file tree
Hide file tree
Showing 16 changed files with 2,463 additions and 7,553 deletions.
398 changes: 203 additions & 195 deletions copy-to-public/react-dom.production.min.js

Large diffs are not rendered by default.

73 changes: 27 additions & 46 deletions copy-to-public/react.production.min.js

Large diffs are not rendered by default.

4,412 changes: 2,206 additions & 2,206 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions setupRuns.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ sources.forEach(benchmark => {
}
})
})
copyFile(join(__dirname, 'fps-emit/dist/fps-emit.min.js'), join(src, 'public/fps-emit.min.js'), e => {
if (e) {
console.log(e)
process.exit(1);
}
})


console.log(`building production version of benchmark ${benchmark}...`)
Expand Down
6 changes: 6 additions & 0 deletions sources/stockticker/config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ module.exports = function override(config, env) {
"react" : "React",
"redux" : "Redux",
"react-redux" : "ReactRedux",
"fps-emit": "FpsEmit",
}
}
if(env === "development") {
config.externals = {
"fps-emit": "FpsEmit",
}
}

Expand Down

0 comments on commit c6bfad9

Please sign in to comment.