forked from SassNinja/media-query-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.hbs
27 lines (27 loc) · 785 Bytes
/
index.hbs
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{ htmlWebpackPlugin.options.title }}</title>
{{# each htmlWebpackPlugin.files.css }}
<link rel="stylesheet" href="{{ this }}">
{{/ each }}
{{# each htmlWebpackPlugin.files.extracted.css }}
{{#if_not_dynamic_import}}
<link rel="stylesheet" href="{{ this.file }}" media="{{ this.query }}">
{{/if_not_dynamic_import}}
{{/ each }}
</head>
<body>
<h1 class="foo bar">Hello World</h1>
<p class="lorem">Lorem ipsum</p>
{{# each htmlWebpackPlugin.files.js }}
<script src="{{ this }}"></script>
{{/ each}}
{{# each htmlWebpackPlugin.files.extracted.js }}
{{#if_not_dynamic_import}}
<script src="{{ this.file }}"></script>
{{/if_not_dynamic_import}}
{{/ each}}
</body>
</html>