You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I pass a path relative to what's build on the server Browserify will fail during build.
How can I prevent Browserify form evaluating dynamic import – and crash in the process without having to replicate the entire src folder structure on the live server?
The text was updated successfully, but these errors were encountered:
Browserify doesn't support ESM, including dynamic imports. It doesn't do anything to them so they end up in the output bundle unless you use a transform like babelify.
If I pass a path relative to what's build on the server Browserify will fail during build.
How can I prevent Browserify form evaluating dynamic import – and crash in the process without having to replicate the entire src folder structure on the live server?
The text was updated successfully, but these errors were encountered: