diff options
author | 2021-10-07 21:27:47 -0700 | |
---|---|---|
committer | 2021-10-07 21:27:47 -0700 | |
commit | ae7b91efe2076254d66d608052f4729fd34b3546 (patch) | |
tree | 1bc8f86ca8997c4801839f38326e7b3993efe651 /bench/hot-module-reloading/css-stress-test/pages/index.tsx | |
parent | 6d9ccd9b8edb149aee957b3e6c7668cc45ce7664 (diff) | |
download | bun-ae7b91efe2076254d66d608052f4729fd34b3546.tar.gz bun-ae7b91efe2076254d66d608052f4729fd34b3546.tar.zst bun-ae7b91efe2076254d66d608052f4729fd34b3546.zip |
Add CSS HMR benchmarkjarred/bench
Diffstat (limited to 'bench/hot-module-reloading/css-stress-test/pages/index.tsx')
-rw-r--r-- | bench/hot-module-reloading/css-stress-test/pages/index.tsx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bench/hot-module-reloading/css-stress-test/pages/index.tsx b/bench/hot-module-reloading/css-stress-test/pages/index.tsx new file mode 100644 index 000000000..3ef84ffe5 --- /dev/null +++ b/bench/hot-module-reloading/css-stress-test/pages/index.tsx @@ -0,0 +1,12 @@ +import { Main } from "src/main"; +export function IndexPage() { + return ( + <Main + productName={ + typeof location !== "undefined" ? location.search.substring(1) : "" + } + /> + ); +} + +export default IndexPage; |