You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astro v5.1.9
Node v23.6.1
System Linux (x64)
Package Manager yarn
Output static
Adapter none
Integrations none
If this issue only occurs in one browser, which browser is a problem?
N/A
Describe the Bug
I can't build the project with outDir astro option. I get this error
18:26:11 [ERROR] [vite] x Build failed in 736ms
[vite]: Rollup failed to resolve import "virtual:astro-icon" from "/home/node/reikiolistique/node_modules/astro-icon/components/Icon.astro".
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`
Stack trace:
at viteWarn (file:///home/node/reikiolistique/node_modules/vite/dist/node/chunks/dep-M1IYMR16.js:51220:17)
at onwarn (file:///home/node/reikiolistique/node_modules/vite/dist/node/chunks/dep-M1IYMR16.js:50918:7)
at Object.logger [as onLog] (file:///home/node/reikiolistique/node_modules/rollup/dist/es/shared/node-entry.js:21329:9)
at file:///home/node/reikiolistique/node_modules/rollup/dist/es/shared/node-entry.js:20176:26
error Command failed with exit code 1.
What's the expected result?
No error, regular build. The project builds without the outDir option.
Link to Minimal Reproducible Example
Build any project with the option outDir
The text was updated successfully, but these errors were encountered:
What version of
astro-icon
are you using?1.1.5
Astro Info
If this issue only occurs in one browser, which browser is a problem?
N/A
Describe the Bug
I can't build the project with
outDir
astro option. I get this errorWhat's the expected result?
No error, regular build. The project builds without the
outDir
option.Link to Minimal Reproducible Example
Build any project with the option outDir
The text was updated successfully, but these errors were encountered: