Closed gilesbutler closed 2 years ago
Hey @ElMassimo would love to get your thoughts or inout on this. Happy to do a PR if you can help point me in the right direction 😃
Hi Giles! @gilesbutler
Seems like the outDir
option is not being used when building islands. If you run build in your reproduction, you can see that it's still writing in dist
instead of temp/build
.
Setting outDir
explicitly when building islands should fix the problem.
Pull requests are welcome!
Awesome, thanks @ElMassimo I'll take a look 👍
Closed by #134, released in iles@0.7.39
. Thanks!
iles
andvite
.Description 📖
When using custom
outDir
and hydrated components i.e<Welcome client:load />
the build fails with the following error:Reproduction 🐞
https://stackblitz.com/edit/iles-slj6as?file=src%2Fpages%2Fabout.vue,src%2Fcomponents%2FWelcome.vue,iles.config.ts
Dependencies Info
_Run `npx iles info` and `pnpm list` (or `npm list`) and provide the output:_ ``` iles v0.7.38 vite v2.9.9 ```Screenshots 📷