From 026674bc2c4eb5f53bcb38e7efce2fe2dfebe974 Mon Sep 17 00:00:00 2001 From: f0x52 Date: Mon, 13 Sep 2021 14:45:33 +0200 Subject: Thread views on the web (#207) * Webviews for status threads * fix up templates * add ForkAwesome and gotosocial-styling into repo * clean up gotosocial-styling, old styling * update CONTRIBUTING with new css building, and nodemon recommendation * update Dockerfile with new css bundling * those weren't supposed to make it in * upgrade gotosocial-styling deps * update authorize template with main wrapper * update css pipeline * abstract status from thread to avoid copy-pasting * basic CW implementation * fix PR review suggestions * fix no-image-desc icon alignment * remove template loading println * remove println * remove changes to testmodels * reset changes to testmodels --- web/source/build.js | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 web/source/build.js (limited to 'web/source/build.js') diff --git a/web/source/build.js b/web/source/build.js deleted file mode 100644 index e32fa6da5..000000000 --- a/web/source/build.js +++ /dev/null @@ -1,23 +0,0 @@ -"use strict"; - -const fs = require("fs").promises; -const postcss = require('postcss'); -const {parse} = require("postcss-scss"); - -const postcssPlugins = ["postcss-strip-inline-comments", "postcss-nested", "postcss-simple-vars", "postcss-color-function"].map((plugin) => require(plugin)()); - -let inputFile = `${__dirname}/style.css`; -let outputFile = `${__dirname}/../assets/bundle.css`; - -fs.readFile(inputFile, "utf-8").then((input) => { - return parse(input); -}).then((ast) => { - return postcss(postcssPlugins).process(ast, { - from: "style.css", - to: "bundle.css" - }); -}).then((bundle) => { - return fs.writeFile(outputFile, bundle.css); -}).then(() => { - console.log("Finished writing CSS bundle"); -}); -- cgit v1.2.3