Results 28 comments of zhong666

@danielroe @pi0 I've submitted this pull request (PR) a while ago and noticed that it hasn't received any attention. I wanted to ask if you think this feature is necessary?...

@sxzz Please check this PR, Welcome to discussion. Thank you.

Hi @sxzz! Thank you for the review. I've resolved all the comments. Please check it again

@sxzz I have same error now, but after reverting to the code before the merge f85e9c61832e9e5fb7c8784b55af2a9b140bcecb, everything is back to normal. This is quite unusual. I should spend more time...

@sxzz I've discovered the `prebundle` is not handling TypeScript-related content (hence the errors when importing `CompC.vue` and `CompD.vue`). So, I'm making the`prebundle` transforms consistent with the original transforms.

Hi @pi0 ~ This PR is completed, Please review it, THX

@userquin @danielroe minimal reproduction is here, but stackblitz can't exec sharp, so I think should download this project and run at local https://stackblitz.com/edit/reproduce-vite-pwa-nuxt-assets-custom-src-gwjm7u?file=README.md

@userquin Thanks for your reply, I'll use CLI to handle it for now

I think change dir.public is not a good idea, that will be have compatibility for other modules. let me find some modules later

If use nuxt/image modules and set dir.public like your guide that will not working because nuxt/image resolve public dir with srcDir: https://github.com/nuxt/image/blob/3a98a685746b5be2188ddf59d091a4f3e525067b/src/module.ts#L60