diff options
Diffstat (limited to 'sticker.pinapelz.moe/esinstall.js')
| -rw-r--r-- | sticker.pinapelz.moe/esinstall.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sticker.pinapelz.moe/esinstall.js b/sticker.pinapelz.moe/esinstall.js deleted file mode 100644 index 8cb5682..0000000 --- a/sticker.pinapelz.moe/esinstall.js +++ /dev/null @@ -1,23 +0,0 @@ -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)) -}) |
