diff --git a/CHANGELOG.md b/CHANGELOG.md index 32fd508d..fedbecdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ Fix: - Fix shrine issues related to configuration and uploader validation [#302](https://github.com/platanus/potassium/pull/302) - Fix database recipe not running recommended generator for strong_migrations gem [#310](https://github.com/platanus/potassium/pull/310) - Fix puma config that was causing it to crash on server start while on development [#313](https://github.com/platanus/potassium/pull/313) + - Fix purge css being enabled in development [#327](https://github.com/platanus/potassium/pull/327) ## 6.0.0 diff --git a/lib/potassium/recipes/front_end.rb b/lib/potassium/recipes/front_end.rb index 8f01362a..1ef6c3da 100644 --- a/lib/potassium/recipes/front_end.rb +++ b/lib/potassium/recipes/front_end.rb @@ -164,7 +164,7 @@ def tailwind_config_content variants: {}, plugins: [], purge: { - enabled: true, + enabled: process.env.NODE_ENV === 'production', content: [ './app/**/*.html', './app/**/*.vue',