Hello,
I create a simple example of my workspace. It's default nuxt application with one dep. that build worker with vite.
When I build the app with:
- yarn # Install deps
- yarn workspace magic run build
- yarn dev
I succeed on every step. But when I start the dev server and load the default page that requires Worker from 'magic' package, I get an error.
I don't know why I get the content type of the request for worker.js as text/html;charset=utf-8.
Is there anything that I miss from the configuration of Nuxt or Vite in dep. for this to work?
Thank you for response.