Skip to content

Commit

Permalink
adds new purgecss paths to the tailwind config file (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot authored May 28, 2020
1 parent 9b1e5c0 commit 64ed82a
Showing 1 changed file with 31 additions and 13 deletions.
44 changes: 31 additions & 13 deletions src/moonlight-stubs/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,33 @@
module.exports = {
theme: {
extend: {
screens: {
'xl': '1140px',
}
},
container: {
center: true,
padding: '1rem',
}
purge: {
// enabled: true,
content: [
"app/**/*.php",
"resources/**/*.html",
"resources/**/*.js",
"resources/**/*.jsx",
"resources/**/*.ts",
"resources/**/*.tsx",
"resources/**/*.php",
"resources/**/*.vue",
"resources/**/*.twig",
],
options: {
// defaultExtractor: (content) => content.match(/[\w-/.:]+(?<!:)/g) || [],
whitelistPatterns: [/-active$/, /-enter$/, /-leave-to$/, /show$/],
},
variants: {},
plugins: [],
}
},
theme: {
extend: {
screens: {
xl: "1140px",
},
},
container: {
center: true,
padding: "1rem",
},
},
variants: {},
plugins: [],
};

0 comments on commit 64ed82a

Please sign in to comment.