Trouble running the dev server with worker in dependency
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: 1. yarn # Install deps 2. yarn workspace magic run build 3. 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
worker.js
as
text/html;charset=utf-8
text/html;charset=utf-8
.
Is there anything that I miss from the configuration of Nuxt or Vite in dep. for this to work?