-
Notifications
You must be signed in to change notification settings - Fork 191
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
fixed build vite-plugin on windows (fix #473) #474
base: main
Are you sure you want to change the base?
Conversation
- replace path.posix imports to path imports - fix path resolving in bundle client code
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
@GoodSimonVM Thanks for this PR! I really want to support development on Windows and this looks like the right direction. Rollup/Vite use posix internally, and in a previous version of CRXJS, we needed to use posix to support certain Rollup/Vite features. The CI tests are passing on Mac/Linux, but this could be a breaking change for certain Vite settings, so I'm nervous about merging this without more thorough testing. I will set aside some time to test this in a real project, but my open-source time is limited right now, so it may take a few weeks. |
Is there anyway I can help with this? |
I encounter this, how to workaround? |
It's build now, but
pnpm run test
has a lot of errors. I think it's becausepath.posix
is used in tests, but I don't know much about testing.