stub out webapp
This commit is contained in:
commit
f0321b3f49
14 changed files with 2759 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