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"> <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"> <link rel="icon" type="image/png" sizes="96x96" href="/images/favicon-96.png">
<title>Stremio - All you can watch!</title> <title>Stremio - All you can watch!</title>
<style> <%= htmlWebpackPlugin.tags.headTags %>
<%= compilation.assets['main.css'].source() %>
</style>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
<script type="text/javascript"> <%= htmlWebpackPlugin.tags.bodyTags %>
<%= compilation.assets['main.js'].source() %>
</script>
<script src="//www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"></script> <script src="//www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"></script>
</body> </body>