Skip to content
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

A small mistake in documentation. #24

Closed
PanLydka opened this issue Jul 1, 2019 · 1 comment
Closed

A small mistake in documentation. #24

PanLydka opened this issue Jul 1, 2019 · 1 comment

Comments

@PanLydka
Copy link

PanLydka commented Jul 1, 2019

Hi, propably I found a small mistake.
purgeCssEnabled

The argument in function is called differently.
module.exports = withCss( withPurgeCss({ purgeCssEnabled: ({ dev, isServer }) => (!isDev && !isServer) // Only enable PurgeCSS for client-side production builds }) )

probably should be
module.exports = withCss( withPurgeCss({ purgeCssEnabled: ({ isDev, isServer }) => (!isDev && !isServer) // Only enable PurgeCSS for client-side production builds }) )

@lucleray
Copy link
Owner

lucleray commented Jul 5, 2019

I updated, thank you 🙏

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

No branches or pull requests

2 participants