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

Payload 2 with viteBundler stylesheet error #34

Closed
ericuldall opened this issue Dec 20, 2023 · 2 comments
Closed

Payload 2 with viteBundler stylesheet error #34

ericuldall opened this issue Dec 20, 2023 · 2 comments

Comments

@ericuldall
Copy link

[sass] Can't find stylesheet to import.
  ╷
1 │ @import '~payload/dist/admin/scss/vars'

Any idea why this is missing?

@ericuldall
Copy link
Author

Looks like removing the ~ from the front of the import name works fine. Not sure if this also works on webpack.

@dkirchhof
Copy link
Collaborator

dkirchhof commented Jan 8, 2024

No problems with webpack after removing it. Will publish a new version in a sec. Thanks for pointing out this bug.

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

2 participants