-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
Can not build when using PandaCSS #1227
Labels
bug
Something isn't working
Comments
YogiLiu
added
the
pending-triage
Someone (usually a maintainer) needs to look into this to see if it's a bug
label
Nov 29, 2024
This is caused by WXT polyfilling the Specifically, it's because createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (document.currentScript && document.currentScript.src || new URL('index.cjs', document.baseURI).href))) Specifically, new URL('index.cjs', document.baseURI) This is the same as #931. |
5 tasks
See #931 (comment) for a workaround. |
aklinker1
added
bug
Something isn't working
and removed
pending-triage
Someone (usually a maintainer) needs to look into this to see if it's a bug
labels
Dec 1, 2024
Re-tested with fix from #1207, it didn't fix the issue with panda CSS. Same error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I created a WXT project with PandaCSS, it work well when developping by
pnpm run dev
, but when I runpnpm run build
, it report an error:Error: Loading PostCSS Plugin failed: Invalid URL
.Reproduction
See the steps to reproduce.
Steps to reproduce
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: