Skip to content

Commit

Permalink
fix(front-end): enable purgecss only in production
Browse files Browse the repository at this point in the history
  • Loading branch information
gmq committed Nov 27, 2020
1 parent 0a1adc2 commit 1027f8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/potassium/recipes/front_end.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def tailwind_config_content
variants: {},
plugins: [],
purge: {
enabled: true,
enabled: process.env.NODE_ENV === 'production',
content: [
'./app/**/*.html',
'./app/**/*.vue',
Expand Down

0 comments on commit 1027f8e

Please sign in to comment.