aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/docs/DocInclude.tsx
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-05-29 17:00:54 +0200
committerSonarTech <sonartech@sonarsource.com>2018-05-29 20:20:47 +0200
commit95220229b1d52f0acd4f1c0d4358e9fed610c3ee (patch)
tree37ce44f787c6a22aca324047efbe8bcb41b38689 /server/sonar-web/src/main/js/components/docs/DocInclude.tsx
parent9c10956d8a65e1e3a851691d69cee367ac4e0869 (diff)
downloadsonarqube-95220229b1d52f0acd4f1c0d4358e9fed610c3ee.tar.gz
sonarqube-95220229b1d52f0acd4f1c0d4358e9fed610c3ee.zip
SONAR-10675 Decrease JavaScript boot-up time (#283)
Diffstat (limited to 'server/sonar-web/src/main/js/components/docs/DocInclude.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/docs/DocInclude.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/docs/DocInclude.tsx b/server/sonar-web/src/main/js/components/docs/DocInclude.tsx
index 85298633439..d499b27c22c 100644
--- a/server/sonar-web/src/main/js/components/docs/DocInclude.tsx
+++ b/server/sonar-web/src/main/js/components/docs/DocInclude.tsx
@@ -18,7 +18,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import * as React from 'react';
-import DocMarkdownBlock from './DocMarkdownBlock';
+import { lazyLoad } from '../lazyLoad';
+
+const DocMarkdownBlock = lazyLoad(() => import('./DocMarkdownBlock'));
interface Props {
className?: string;