Skip to content

Commit

Permalink
css: get TailwindCSS to purge correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
freesteph committed Feb 23, 2021
1 parent 3739a29 commit f402d4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
plugins: [
require("postcss-import"),
require("tailwindcss"),
require("autoprefixer"),
require("postcss-flexbugs-fixes"),
require("postcss-preset-env")({
autoprefixer: {
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
purge: ["./app/javascript/packs/*.css"],
purge: ["./app/javascript/packs/*.css", "app/**/*.html.haml"],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {}
Expand Down

0 comments on commit f402d4b

Please sign in to comment.