diff options
Diffstat (limited to 'html/src/template.html')
-rw-r--r-- | html/src/template.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/html/src/template.html b/html/src/template.html new file mode 100644 index 0000000..ffe2ad3 --- /dev/null +++ b/html/src/template.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> + <title><%= htmlWebpackPlugin.options.title %></title> + <link inline rel="icon" type="image/png" href="favicon.png"> + <% for (const css in htmlWebpackPlugin.files.css) { %> + <link inline rel="stylesheet" type="text/css" href="<%= htmlWebpackPlugin.files.css[css] %>"> + <% } %> +</head> +<body> +<% for (const js in htmlWebpackPlugin.files.js) { %> +<script inline type="text/javascript" src="<%= htmlWebpackPlugin.files.js[js] %>"></script> +<% } %> +</body> +</html> |