use tags for styles and js instead of inline them

This commit is contained in:
nklhrstv 2021-01-06 17:56:01 +02:00
parent 6f628f6d7a
commit 477ec0dac0

8
src/index.html Executable file → Normal file
View file

@ -6,16 +6,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1">
<link rel="icon" type="image/png" sizes="96x96" href="/images/favicon-96.png">
<title>Stremio - All you can watch!</title>
<style>
<%= compilation.assets['main.css'].source() %>
</style>
<%= htmlWebpackPlugin.tags.headTags %>
</head>
<body>
<div id="app"></div>
<script type="text/javascript">
<%= compilation.assets['main.js'].source() %>
</script>
<%= htmlWebpackPlugin.tags.bodyTags %>
<script src="//www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"></script>
</body>