Closed aklinker1 closed 2 years ago
Currently, imports don't work in content scripts and background scripts (unless type: "module" for background service_worker)
type: "module"
service_worker
Seems like an easy fix would be to default manualChunks: undefined in build.rollupOptions.outputs
manualChunks: undefined
build.rollupOptions.outputs
This doesn't work, we'll have to include a lib vite build in parallel with the standard build to get this working for content scripts
This was fixed a long time ago lol
Currently, imports don't work in content scripts and background scripts (unless
type: "module"
for backgroundservice_worker
)Seems like an easy fix would be to default
manualChunks: undefined
inbuild.rollupOptions.outputs