Closed yujinlin0224 closed 1 year ago
Thanks for the fix! Can we use Vite's normalizePath
instead of replacing the slashes manually?
import { normalizePath } from 'vite';
normalizePath(path.relative(paths.rootDir, file))
Hmm, I tried normalizePath
out and that doesn't actually work in all cases. I added some unit tests and refactored to using replaceAll
Fix https://github.com/aklinker1/vite-plugin-web-extension/issues/74