Hello,
I'm trying to fix the dynamic imports in MV3 so I've added new WebExtension into the plugins array:
new WebExtension({
background: {
entry: `background_gsd.worker`,
// !! Add this to support manifest v3
manifest: 3,
},
}),
And it seems to fix the background service worker, but at the same time my compilation now fails in the HtmlWebpackPlugin, which doesn't make sense to me:
Removing the new WebExtension(... from the plugins list fixes the problem so there must be some correlation I don't see.
Can you help? Or do I need to provide some example project?
Thanks!
Hello, I'm trying to fix the dynamic imports in MV3 so I've added
new WebExtension
into the plugins array:And it seems to fix the background service worker, but at the same time my compilation now fails in the
HtmlWebpackPlugin
, which doesn't make sense to me:Removing the
new WebExtension(...
from the plugins list fixes the problem so there must be some correlation I don't see. Can you help? Or do I need to provide some example project? Thanks!