mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
chore(frontend): migrate to tailwindcss v3
This commit is contained in:
parent
d0522df5ee
commit
325e26e0c1
15 changed files with 28 additions and 361 deletions
|
|
@ -1,17 +1,6 @@
|
|||
const purgecss = require("@fullhuman/postcss-purgecss")({
|
||||
// Specify the paths to all of the template files in your project
|
||||
content: ["./public/**/*.html", "./src/**/*.tsx"],
|
||||
|
||||
// Include any special characters you're using in this regular expression
|
||||
defaultExtractor: (content) => content.match(/[\w-/:]+(?<!:)/g) || [],
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
require("postcss-import"),
|
||||
require("tailwindcss"),
|
||||
require("autoprefixer"),
|
||||
|
||||
...(process.env.NODE_ENV === "production" ? [purgecss] : []),
|
||||
],
|
||||
};
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue