stub out webapp & Set up a go skeleton that works with the underlying FE js
This commit is contained in:
commit
35325c74d0
16 changed files with 2869 additions and 0 deletions
13
web/postcss.config.js
Normal file
13
web/postcss.config.js
Normal 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] : [])],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue