diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-22 23:53:39 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-22 23:53:39 +0800 |
commit | 7c874472412126b82a6e302f8dbc5f17baaa8e8f (patch) | |
tree | 8d7b9436c3a36a1472cf3fbbdad0affc71492628 | |
parent | b39d87f357a785ce68d65477f024f24d44cd0dac (diff) | |
download | dexon-sol-tools-7c874472412126b82a6e302f8dbc5f17baaa8e8f.tar.gz dexon-sol-tools-7c874472412126b82a6e302f8dbc5f17baaa8e8f.tar.zst dexon-sol-tools-7c874472412126b82a6e302f8dbc5f17baaa8e8f.zip |
Fix lazy load so each doc page is a separate bundle
-rw-r--r-- | packages/website/ts/index.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx index 0d33e389f..d542bd804 100644 --- a/packages/website/ts/index.tsx +++ b/packages/website/ts/index.tsx @@ -46,19 +46,19 @@ const LazyConnectDocumentation = createLazyComponent('Documentation', async () = System.import<any>(/* webpackChunkName: "connectDocs" */ 'ts/containers/connect_documentation'), ); const LazyWeb3WrapperDocumentation = createLazyComponent('Documentation', async () => - System.import<any>(/* webpackChunkName: "connectDocs" */ 'ts/containers/web3_wrapper_documentation'), + System.import<any>(/* webpackChunkName: "web3WrapperDocs" */ 'ts/containers/web3_wrapper_documentation'), ); const LazyDeployerDocumentation = createLazyComponent('Documentation', async () => - System.import<any>(/* webpackChunkName: "connectDocs" */ 'ts/containers/deployer_documentation'), + System.import<any>(/* webpackChunkName: "deployerDocs" */ 'ts/containers/deployer_documentation'), ); const LazyJSONSchemasDocumentation = createLazyComponent('Documentation', async () => - System.import<any>(/* webpackChunkName: "connectDocs" */ 'ts/containers/json_schemas_documentation'), + System.import<any>(/* webpackChunkName: "jsonSchemasDocs" */ 'ts/containers/json_schemas_documentation'), ); const LazySolCovDocumentation = createLazyComponent('Documentation', async () => - System.import<any>(/* webpackChunkName: "connectDocs" */ 'ts/containers/sol_cov_documentation'), + System.import<any>(/* webpackChunkName: "solCovDocs" */ 'ts/containers/sol_cov_documentation'), ); const LazySubprovidersDocumentation = createLazyComponent('Documentation', async () => - System.import<any>(/* webpackChunkName: "connectDocs" */ 'ts/containers/subproviders_documentation'), + System.import<any>(/* webpackChunkName: "subproviderDocs" */ 'ts/containers/subproviders_documentation'), ); analytics.init(); |