Hi everyone,
I use webpack to build my MV3 extension, and I use es6 import
in my source code, the built extension works on Chrome and Edge, but not on Firefox.
It throws the error that my functions are undefined, after debugging, I find all my imported modules are undefined
, like the TranslateModal
class in the screenshot below
Any ideas or suggestion?
Thanks a lot!