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 }) )
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 }) )