Don't purge CSS in base and component layers
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
The production build was purging input[type=text] styles, because it couldn't find it in the Rails templates. Change config, so it only purges utility classes.
This commit is contained in:
parent
6a6ff84ff2
commit
89188f5081
@ -1,11 +1,14 @@
|
|||||||
const defaultTheme = require('tailwindcss/defaultTheme')
|
const defaultTheme = require('tailwindcss/defaultTheme')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
purge: [
|
purge: {
|
||||||
"./app/**/*.html.erb",
|
layers: ['utilities'],
|
||||||
"./app/helpers/**/*.rb",
|
content: [
|
||||||
"./app/javascript/**/*.js"
|
"./app/**/*.html.erb",
|
||||||
],
|
"./app/helpers/**/*.rb",
|
||||||
|
"./app/javascript/**/*.js"
|
||||||
|
]
|
||||||
|
},
|
||||||
darkMode: false, // or 'media' or 'class'
|
darkMode: false, // or 'media' or 'class'
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user