mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
chore(frontend): update deps
This commit is contained in:
parent
d881a78757
commit
a770b48441
3 changed files with 16 additions and 14 deletions
|
|
@ -3,13 +3,13 @@ const purgecss = require("@fullhuman/postcss-purgecss")({
|
|||
content: ["./public/**/*.html", "./src/**/*.tsx"],
|
||||
|
||||
// Include any special characters you're using in this regular expression
|
||||
defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || []
|
||||
defaultExtractor: (content) => content.match(/[\w-/:]+(?<!:)/g) || [],
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
require("tailwindcss"),
|
||||
require("autoprefixer"),
|
||||
...(process.env.NODE_ENV === "production" ? [purgecss] : [])
|
||||
]
|
||||
...(process.env.NODE_ENV === "production" ? [purgecss] : []),
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue