-
What happened?loading production build into browser is failing because of @tensorflow/tfjs import in Example repo based on Is there a possible workaround? Thanks a lot for help 🙏 Version What OS are you seeing the problem on? What browsers are you seeing the problem on? Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@sebous can you try upgrading to the latest version of Plasmo - there's an upgrade to SWC (the internal bundler), which should fix some of these importing issue. If that still does not work, is this mainly on production build? If so, try it with the |
Beta Was this translation helpful? Give feedback.
@sebous can you try upgrading to the latest version of Plasmo - there's an upgrade to SWC (the internal bundler), which should fix some of these importing issue.
If that still does not work, is this mainly on production build? If so, try it with the
--no-hoist
flag <-this will ensure all the scope are imported as-is. The dead code elimination might not be as efficient, but it should include all bundle for you.