We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Hey! Thank you for your amazing job. Works almost perfect out of box without any configured options.
I'm using Vite/Vue and my first issue is:
Input:
Bundled output:
This causing an issue:
Moreover, setting "ignoreClass" option in "classGenerator" has no effect. Is it WIP?
The text was updated successfully, but these errors were encountered:
test: add #21 animate case
f427ee6
Hello, the reason for this problem is that ease-out is also one of the class keywords generated by tailwindcss.
ease-out
F.Y.I: https://tailwindcss.com/docs/transition-timing-function
so you can do this steps to fix this issue.
1: Upgrade to unplugin-tailwindcss-mangle@^1.2.3
unplugin-tailwindcss-mangle@^1.2.3
Then add some class not to be mangled
import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import { vitePlugin as utwm, defaultMangleClassFilter } from 'unplugin-tailwindcss-mangle' // https://vitejs.dev/config/ export default defineConfig({ plugins: [ vue(), utwm({ mangleClassFilter(className) { if (['ease-out', 'ease-linear', 'ease-in', 'ease-in-out'].includes(className)) { return false } return defaultMangleClassFilter(className) }, }) ] })
Sorry, something went wrong.
It works now. Thank you!
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Hey!
Thank you for your amazing job. Works almost perfect out of box without any configured options.
I'm using Vite/Vue and my first issue is:
Input:

Bundled output:

This causing an issue:

Moreover, setting "ignoreClass" option in "classGenerator" has no effect. Is it WIP?
The text was updated successfully, but these errors were encountered: