forked from webpack/webpack.js.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.ejs
36 lines (30 loc) · 1.25 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
36
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title><%= htmlWebpackPlugin.options.context.title %></title>
<meta name="description" content="<%= htmlWebpackPlugin.options.context.description %>">
<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 of htmlWebpackPlugin.options.context.cssFiles) { %>
<link href="<%= file %>" rel="stylesheet">
<% } %>
<script src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
</head>
<body>
<%- webpackConfig.html %>
<% for (var script of htmlWebpackPlugin.options.context.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>