Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

How can this work with tailwindcss and postcss-purgecss? #24

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

Closed
brielov opened this issue Mar 30, 2020 · 2 comments
Closed

How can this work with tailwindcss and postcss-purgecss? #24

brielov opened this issue Mar 30, 2020 · 2 comments
Labels
question Further information is requested

Comments

@brielov
Copy link

brielov commented Mar 30, 2020

No description provided.

@J05HI
Copy link

J05HI commented May 20, 2020

@brielov @iflan @nanaze @rzhw
I tried the same. It only replaces the class names in CSS. In HTML they don't get replaced.
Is there an example?

@rzhw rzhw added the question Further information is requested label May 20, 2020
@rzhw
Copy link
Contributor

rzhw commented May 20, 2020

This plugin doesn't rewrite class names in JS or HTML; you'll need something that can consume the map passed to outputMapCallback by this plugin. That could be a Webpack plugin, for example.

There isn't one we know of currently, but we're happy to add links in the README.

@rzhw rzhw closed this as completed May 20, 2020
@google google locked and limited conversation to collaborators Jun 23, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants