js source code inlined in index.html file

This commit is contained in:
NikolaBorislavovHristov 2019-07-18 13:13:32 +03:00
parent 5c95f98345
commit 92491703cf
2 changed files with 4 additions and 2 deletions

View file

@ -9,7 +9,9 @@
<body>
<div id="app"></div>
<script type="text/javascript" src="/stremio-web.js"></script>
<script type="text/javascript">
<%= compilation.assets['bundle.js'].source() %>
</script>
<script type="text/javascript" src="qrc:///qtwebchannel/qwebchannel.js"></script>
<script type="text/javascript" src="qrc:///stremio-shell.js"></script>
</body>

View file

@ -7,7 +7,7 @@ module.exports = {
entry: './src/index.js',
output: {
path: path.join(__dirname, 'dist'),
filename: 'stremio-web.js',
filename: 'bundle.js',
publicPath: '/'
},
module: {