forked from webpack/webpack.js.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.ejs
35 lines (29 loc) · 1.16 KB
/
template.ejs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title><%= webpackConfig.template.title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#2B3A42">
<link rel="shortcut icon" href="/assets/favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,600|Source+Sans+Pro:200,400,400i,500" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" />
<% for (var file in webpackConfig.template.cssFiles) { %>
<link href="<%= webpackConfig.template.cssFiles[file] %>" rel="stylesheet">
<% } %>
<script src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
</head>
<body>
<%- webpackConfig.html %>
<% for (var script of webpackConfig.template.jsFiles) { %>
<script src="<%= script %>"></script>
<% } %>
<script>
((window.gitter = {}).chat = {}).options = {
room: 'webpack/webpack',
activationElement: false
};
</script>
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
</body>
</html>