pukaad-ui-lib 1.246.4 → 1.246.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/module.mjs +6 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -191,7 +191,12 @@ const module$1 = defineNuxtModule({
|
|
|
191
191
|
_nuxt.hook("vite:extendConfig", (config) => {
|
|
192
192
|
if (isEnabled(features.tailwind, true)) {
|
|
193
193
|
config.plugins ||= [];
|
|
194
|
-
config.plugins.
|
|
194
|
+
const hasTailwind = config.plugins.some(
|
|
195
|
+
(p) => p.name === "tailwindcss"
|
|
196
|
+
);
|
|
197
|
+
if (!hasTailwind) {
|
|
198
|
+
config.plugins.push(tailwindcss());
|
|
199
|
+
}
|
|
195
200
|
}
|
|
196
201
|
if (isEnabled(features.optimizeDeps, false)) {
|
|
197
202
|
config.optimizeDeps = config.optimizeDeps || {};
|