leeoniya/dropcss

Nextjs integration example

wiesson opened this issue · 4 comments

How could I integrate dropcss in the nextjs build flow/process?

i don't use nextjs, so i won't be much help here. dropcss's API is extremely straightforward, so i imagine someone with experience writing plugins for nextjs, postcss, webpack or other bundlers would be more qualified to answer this. you may want to see if the maintainers of https://github.com/lucleray/next-purgecss would be willing to give you some pointers.

you might be interested in reading some prior discussions about integration with other tools:

PostCSS: #44
Gulp: #42
Webpack: #10

long story short, i cannot write and maintain/support code for tools which i do not personally use. but i'm open to PRs if someone wants to do this.

Ok, let me have a look, maybe I can submit a PR!

sounds good :)

gonna close this for now. if you get around to making a PR, we'll keep talking there.