Currently when I run build I run into a rollup import error.
[vite]: Rollup failed to resolve import "/logo.svg" from "src/components/Footer.vue".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
/vite-edge/node_modules/vite/dist/node/chunks/dep-e0fe87f8.js:43253
throw new Error(`[vite]: Rollup failed to resolve import "${id}" from "${importer}".\n` +
^
Error: [vite]: Rollup failed to resolve import "/logo.svg" from "src/components/Footer.vue".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
This works when running dev, but not when running build, but when I switch to relative path, build runs perfectly.
And vite warning is on when using relative path for dev.
Currently when I run build I run into a rollup import error.
This works when running
dev, but not when running build, but when I switch to relative path,buildruns perfectly.And
vitewarning is on when using relative path fordev.