TAILWIND_CONFIG_NOT_ALLOWED: Tailwind @plugin or @config not allowed
Este conteúdo não está disponível em sua língua ainda.
| Severity | Fault | Stage |
|---|---|---|
| error | customer (the source package) | compile |
What it means
Section titled “What it means”A stylesheet has @plugin or @config, which load a JavaScript file (a Tailwind plugin, a tailwind.config.js) that would run as code during the build. Taggor compiles Tailwind v4 with configuration in CSS only and never runs customer config. The text is refused anywhere in a .css or .scss file, comments and strings included.
How to fix
Section titled “How to fix”Remove the @plugin or @config line and configure Tailwind in the CSS: theme values in @theme { –color-brand: #0a6; }, new utilities with @utility, variants with @custom-variant, all next to @import “tailwindcss”.