aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/index.tsx
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-10-19 22:02:15 +0800
committerGitHub <noreply@github.com>2018-10-19 22:02:15 +0800
commit580e574c841fb9b0ba9d37a50bd5a0f787799ff2 (patch)
treecf35d1d5b93cb73aba412197cdaeeb1a113b05ad /packages/dev-tools-pages/ts/index.tsx
parent30f7f83573c9254de336c3c2fc7297188d47af15 (diff)
downloaddexon-0x-contracts-580e574c841fb9b0ba9d37a50bd5a0f787799ff2.tar.gz
dexon-0x-contracts-580e574c841fb9b0ba9d37a50bd5a0f787799ff2.tar.zst
dexon-0x-contracts-580e574c841fb9b0ba9d37a50bd5a0f787799ff2.zip
Feature/build step (#2)
* BundleAnalyzerPlugin * lazy load highlight.js * seperate bundles for each page * prerender apps to html on build * preload important font files * dont prerender code copy button * fix woff2 variant of font * added missing doctype * remove metatags component
Diffstat (limited to 'packages/dev-tools-pages/ts/index.tsx')
-rw-r--r--packages/dev-tools-pages/ts/index.tsx37
1 files changed, 0 insertions, 37 deletions
diff --git a/packages/dev-tools-pages/ts/index.tsx b/packages/dev-tools-pages/ts/index.tsx
deleted file mode 100644
index b185e270a..000000000
--- a/packages/dev-tools-pages/ts/index.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
-import * as React from 'react';
-import { render } from 'react-dom';
-import { Router, Link } from '@reach/router';
-
-import Trace from 'ts/pages/Trace';
-import Compiler from 'ts/pages/Compiler';
-import Cov from 'ts/pages/Cov';
-import Profiler from 'ts/pages/Profiler';
-
-const Index = (props: any) => (
- <ul>
- <li>
- <Link to="/trace">sol-trace</Link>
- </li>
- <li>
- <Link to="/compiler">sol-compiler</Link>
- </li>
- <li>
- <Link to="/cov">sol-cov</Link>
- </li>
- <li>
- <Link to="/profiler">sol-profiler</Link>
- </li>
- </ul>
-);
-
-const App = () => (
- <Router>
- <Trace path="/trace" />
- <Compiler path="/compiler" />
- <Cov path="/cov" />
- <Profiler path="/profiler" />
- <Index default />
- </Router>
-);
-
-render(<App />, document.getElementById('app'));