fix: update ddev to include all tailwind css styles
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
const defaultTheme = require('tailwindcss/defaultTheme')
|
||||
|
||||
module.exports = {
|
||||
const isProduction = process.env.NODE_ENV === 'production';
|
||||
|
||||
const config = {
|
||||
// Keep content defined always, but rely on safelist in dev
|
||||
content: [
|
||||
"./packages/base/Resources/Private/**/*.html",
|
||||
"./packages/base/Resources/Private/**/*.js",
|
||||
"./packages/base/ContentBlocks/ContentElements/**/*.html",
|
||||
"./public/typo3conf/ext/*/Resources/Private/**/*.html",
|
||||
],
|
||||
// Disable purging in dev by safelisting everything
|
||||
safelist: isProduction ? [] : [{ pattern: /.*/ }],
|
||||
theme: {
|
||||
extend: {
|
||||
transitionProperty: {
|
||||
@@ -36,5 +41,7 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
plugins: [],
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user