lucleray / next-purgecss

nextjs + purgecss for smaller css bundles
https://www.npmjs.com/package/next-purgecss
134 stars 8 forks source link

how to use with composePlugins #34

Closed bhkim526 closed 4 years ago

bhkim526 commented 4 years ago

I got below in next.config.js and trying to use next-purgecss. I am not sure how to though. could you please shed some light on it? Thank you so much.

const nextConfig = {webpack: (config, options) => {...}} module.exports = composePlugins([ [typescript], [css, {...}], [sass, {...}] ], nextConfig)

lucleray commented 4 years ago

I've reopened issue #9 so we can continue the discussion there 🙂