Exclude olm from the webpack

Olm takes *ages* to webpack, and it doesn't compress well. So, serve it as a
separate asset to the browser.
This commit is contained in:
Richard van der Hoff 2016-08-02 12:42:06 +01:00
parent 2829d95705
commit 51b74251f9
4 changed files with 39 additions and 24 deletions

View file

@ -24,6 +24,8 @@
</head>
<body style="height: 100%;">
<section id="matrixchat" style="height: 100%;"></section>
<!-- load olm, if possible. -->
<script src="olm.js"></script>
<script src="bundle.js"></script>
<noscript>Sorry, Vector requires JavaScript to be enabled.</noscript>
<link rel="stylesheet" href="bundle.css">