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

Unable to apply configuration from another non-root directory (i.e. in a monorepo) #3739

Open
4 tasks done
scruffymongrel opened this issue Apr 17, 2024 · 0 comments
Open
4 tasks done

Comments

@scruffymongrel
Copy link

scruffymongrel commented Apr 17, 2024

UnoCSS version

0.59.2

Describe the bug

In a pnpm monerepo, using a config in a different workspace (i.e. not in a root directory) doesn't apply the configuration to the build task.

Reproduction

I've written an illustration of this (and another issue, yet to be raised) in https://github.com/scruffymongrel/uno-monorepo-config-repro. That repo also describes how making a single change to @unocss/config fixes the issue for my use case.

System Info

node v21.6.1, pnpm 8.15.1, on macOS 14.4.1

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant