stub out webapp & Set up a go skeleton that works with the underlying FE js

This commit is contained in:
Barak Michener 2020-11-11 20:08:54 -08:00
commit 35325c74d0
16 changed files with 2869 additions and 0 deletions

13
web/postcss.config.js Normal file
View file

@ -0,0 +1,13 @@
const purgecss = require("@fullhuman/postcss-purgecss")({
content: ["./src/**/*.html", "./src/**/*.svelte"],
whitelistPatterns: [/svelte-/],
defaultExtractor: (content) => content.match(/[A-Za-z0-9-_:/]+/g) || [],
})
const dev = process.env.ROLLUP_WATCH
module.exports = {
plugins: [require("tailwindcss"), ...(!dev ? [purgecss] : [])],
}