diff --git a/Splittermond/SL_Frust.png b/packs/Splittermond/SL_Frust.png similarity index 100% rename from Splittermond/SL_Frust.png rename to packs/Splittermond/SL_Frust.png diff --git a/packs/Splittermond/pack.json b/packs/Splittermond/pack.json new file mode 100644 index 0000000..c690836 --- /dev/null +++ b/packs/Splittermond/pack.json @@ -0,0 +1 @@ +{"title": "Splittermond", "id": "Splittermond", "stickers": [{"body": "SL_Frust", "url": "mxc://matrix.org/HbIcgjOqyyXxaIxXHSuWjkos", "info": {"w": 154, "h": 146, "size": 30700, "mimetype": "image/png", "thumbnail_url": "mxc://matrix.org/HbIcgjOqyyXxaIxXHSuWjkos", "thumbnail_info": {"w": 154, "h": 146, "size": 30700, "mimetype": "image/png"}}, "msgtype": "m.sticker", "id": "sha256:647fab3645fe41f5c07f79410a04a1b7695484742db84dd06b63b4a43ca5fcb7"}]} \ No newline at end of file diff --git a/web/esinstall.js b/web/esinstall.js new file mode 100644 index 0000000..8cb5682 --- /dev/null +++ b/web/esinstall.js @@ -0,0 +1,23 @@ +const { install, printStats } = require("esinstall") + +install( + [{ + specifier: "htm/preact", + all: false, + default: false, + namespace: false, + named: ["html", "render", "Component"], + }], + { + dest: "./lib", + sourceMap: false, + treeshake: true, + verbose: true, + } +).then(data => { + const oldPrefix = "web_modules/" + const newPrefix = "lib/" + const spaces = " ".repeat(oldPrefix.length - newPrefix.length) + console.log("Installation complete") + console.log(printStats(data.stats).replace(oldPrefix, newPrefix + spaces)) +}) diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..6312814 --- /dev/null +++ b/web/index.html @@ -0,0 +1,22 @@ + + +
+ + +${this.state.error}
+