From 9479b49bde147eef98e84b15a091ca0ba82b4270 Mon Sep 17 00:00:00 2001
From: "[1000i100] Millicent Billette" <git@1000i100.fr>
Date: Wed, 2 May 2018 20:02:41 +0200
Subject: [PATCH] FIX: better compatibility.

---
 package.json      | 2 +-
 public/index.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 9eff4ef..394cdb3 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
   "main": "public/index.html",
   "scripts": {
     "postinstall": "node build.js",
-    "build":"rollup public/worker.js --format iife --file public/generated.worker.js",
+    "build":"rollup public/worker.js --format iife --file public/generated.worker.js && rollup public/main.js --format iife --file public/generated.main.js",
     "test": "echo open public/test.html in your browser"
   },
   "repository": {
diff --git a/public/index.html b/public/index.html
index f28218b..d551f45 100644
--- a/public/index.html
+++ b/public/index.html
@@ -86,6 +86,6 @@ space::[ _-.]{0,1}
         </style>
     </a>
 </footer>
-<script type="module" src="main.js"></script>
+<script type="module" src="generated.main.js"></script>
 </body>
 </html>
-- 
GitLab