TailwindCSS v2.x (#1540)
This commit is contained in:
@@ -44,8 +44,6 @@ module.exports = {
|
||||
variants: {},
|
||||
plugins: [],
|
||||
purge: {
|
||||
// Learn more on https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css
|
||||
enabled: process.env.NODE_ENV === "production",
|
||||
content: [
|
||||
"components/**/*.vue",
|
||||
"layouts/**/*.vue",
|
||||
@@ -53,9 +51,5 @@ module.exports = {
|
||||
"plugins/**/*.js",
|
||||
"nuxt.config.js",
|
||||
],
|
||||
// These options are passed through directly to PurgeCSS
|
||||
options: {
|
||||
whitelistPatterns: [/^bg-/, /^text-/, /^border-/, /^h-/, /^w-/, /^hover:/],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user