We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/lencx/vite-plugin-rsw/blob/bbd21056333116ec63c56b1db7a428eeb5278430/src/compiler.ts#L36
Looks like you could use path.sep or simply '/' when concatenating both directories names.
path.sep
'/'
so it should say smt like: const crateRoot = root + '/' + rswCrate;
const crateRoot = root + '/' + rswCrate;
The text was updated successfully, but these errors were encountered:
Thanks for the feedback. It's my negligence, it can be handled like this:
const crateRoot = path.resolve(root, rswCrate);
Sorry, something went wrong.
You're right. That's even better! thanks!
c80b5be
No branches or pull requests
https://github.com/lencx/vite-plugin-rsw/blob/bbd21056333116ec63c56b1db7a428eeb5278430/src/compiler.ts#L36
Looks like you could use
path.sep
or simply'/'
when concatenating both directories names.so it should say smt like:
const crateRoot = root + '/' + rswCrate;
The text was updated successfully, but these errors were encountered: