diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-11-12 13:21:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 13:21:36 +0800 |
commit | 9e4a594eb1ee34d89fcad1cf22bee99358a10e92 (patch) | |
tree | 6555f425a60460d30eeaed5e5e48d8a8dbd29aef /packages/website/ts/pages | |
parent | df8fd36c94223d20a427d3829edfc15a4f58161b (diff) | |
parent | 3b421ef796638caf4e8d3bc2c7339b94d5e2026d (diff) | |
download | dexon-0x-contracts-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.tar dexon-0x-contracts-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.tar.gz dexon-0x-contracts-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.tar.bz2 dexon-0x-contracts-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.tar.lz dexon-0x-contracts-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.tar.xz dexon-0x-contracts-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.tar.zst dexon-0x-contracts-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.zip |
Merge pull request #1238 from 0xProject/fix/website/code-splitting
[website] Fix code splitting
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r-- | packages/website/ts/pages/documentation/developers_page.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/pages/documentation/doc_page.tsx | 4 | ||||
-rw-r--r-- | packages/website/ts/pages/landing/landing.tsx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/packages/website/ts/pages/documentation/developers_page.tsx b/packages/website/ts/pages/documentation/developers_page.tsx index 361dbc86e..89389e488 100644 --- a/packages/website/ts/pages/documentation/developers_page.tsx +++ b/packages/website/ts/pages/documentation/developers_page.tsx @@ -1,7 +1,7 @@ import { colors, constants as sharedConstants, utils as sharedUtils } from '@0x/react-shared'; import * as _ from 'lodash'; import * as React from 'react'; -import DocumentTitle = require('react-document-title'); +import DocumentTitle from 'react-document-title'; import { DocsLogo } from 'ts/components/documentation/docs_logo'; import { DocsTopBar } from 'ts/components/documentation/docs_top_bar'; import { Container } from 'ts/components/ui/container'; diff --git a/packages/website/ts/pages/documentation/doc_page.tsx b/packages/website/ts/pages/documentation/doc_page.tsx index 28bf2dba1..8392c90e4 100644 --- a/packages/website/ts/pages/documentation/doc_page.tsx +++ b/packages/website/ts/pages/documentation/doc_page.tsx @@ -6,11 +6,11 @@ import { SupportedDocJson, TypeDocUtils, } from '@0x/react-docs'; -import findVersions = require('find-versions'); +import findVersions from 'find-versions'; import * as _ from 'lodash'; import CircularProgress from 'material-ui/CircularProgress'; import * as React from 'react'; -import semverSort = require('semver-sort'); +import semverSort from 'semver-sort'; import { SidebarHeader } from 'ts/components/documentation/sidebar_header'; import { NestedSidebarMenu } from 'ts/components/nested_sidebar_menu'; import { Container } from 'ts/components/ui/container'; diff --git a/packages/website/ts/pages/landing/landing.tsx b/packages/website/ts/pages/landing/landing.tsx index c56ed4ebe..e2af40c8d 100644 --- a/packages/website/ts/pages/landing/landing.tsx +++ b/packages/website/ts/pages/landing/landing.tsx @@ -1,7 +1,7 @@ import { colors, Link } from '@0x/react-shared'; import * as _ from 'lodash'; import * as React from 'react'; -import DocumentTitle = require('react-document-title'); +import DocumentTitle from 'react-document-title'; import { Footer } from 'ts/components/footer'; import { SubscribeForm } from 'ts/components/forms/subscribe_form'; import { TopBar } from 'ts/components/top_bar/top_bar'; |