Closed FelixLuciano closed 3 years ago
I also had some issues pointing to the module so i get around this by using @rollup/plugin-alias
:
vite.config.js
import alias from "@rollup/plugin-alias"
export default {
plugins: [
alias({
entries: [
{ find: "module", replacement: "path/to/module" }
]
})
]
}
Hi! Thanks for your PR.
Merge? 👀
Thanks for your work!
The plug-in doesn't handle module files because Vite was pushing parameters in the file id for caching.