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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user