Skip to content

Move purge css call to production only #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 14, 2019
Merged

Move purge css call to production only #56

merged 1 commit into from
Aug 14, 2019

Conversation

ninjaparade
Copy link
Contributor

PurgeCss calls should be made only in production environments, during development if you're using any running npm run watch or npm run hot you're going to strip out classes that you could be adding to your project.

@michaeldyrynda michaeldyrynda merged commit 1f38879 into laravel-frontend-presets:master Aug 14, 2019
@michaeldyrynda
Copy link
Contributor

Thanks!

@ninjaparade
Copy link
Contributor Author

ninjaparade commented Aug 15, 2019

You're welcome.

image

@ninjaparade ninjaparade deleted the patch-1 branch August 15, 2019 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants