aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/public/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/public/index.html')
-rw-r--r--server/sonar-web/public/index.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/server/sonar-web/public/index.html b/server/sonar-web/public/index.html
index 71b679d96f4..4da3597a841 100644
--- a/server/sonar-web/public/index.html
+++ b/server/sonar-web/public/index.html
@@ -23,10 +23,11 @@
<meta name="msapplication-TileColor" content="#FFFFFF" />
<meta name="msapplication-TileImage" content="%WEB_CONTEXT%/mstile-512x512.png" />
- <% for (var css in htmlWebpackPlugin.files.css) { %>
- <link href="%WEB_CONTEXT%/<%= htmlWebpackPlugin.files.css[css] %>" rel="stylesheet">
- <% } %>
- <title>Loading...</title>
+ <title>Loading...</title>
+
+ <% for (let css of htmlWebpackPlugin.files.css) { %>
+ <style><%= compilation.assets[css].source() %></style>
+ <% } %>
</head>
<body>
@@ -37,9 +38,9 @@
</div>
</div>
<script>window.baseUrl = '%WEB_CONTEXT%';</script>
- <% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
+ <% for (let chunk in htmlWebpackPlugin.files.chunks) { %>
<script src="%WEB_CONTEXT%/<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
- <% } %>
+ <% } %>
</body>
</html>