Skip to content
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

Tailwind content parsing breaks the module #504

Closed
kpdemetriou opened this issue Jul 13, 2022 · 1 comment
Closed

Tailwind content parsing breaks the module #504

kpdemetriou opened this issue Jul 13, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@kpdemetriou
Copy link

Steps to reproduce

Set content in tailwind.config.js to a non-array as described in the Tailwind docs.

What is Expected?

The absence of errors.

What is actually happening?

Cannot start nuxt: (tailwindConfig.content || []).map is not a function.

Additional Commentary

You cannot assume that tailwindConfig.content is an array. It can also be an object. In the event that tailwindConfig.content is an object, you want to derive the list of files from tailwindConfig.content.files.

@kpdemetriou kpdemetriou added the bug Something isn't working label Jul 13, 2022
@ineshbose
Copy link
Collaborator

Let's track this in #671

@ineshbose ineshbose closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants