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
{{ message }}
Repository navigation
Commit 777eb73
Browse filesBrowse the repository at this point in the historyBrowse files
Metro refuses a non-literal import() at build time, and the webpackIgnore
comment that was there to excuse it does not survive babel-preset-expo,
which strips it before Metro's dependency collector ever sees it. So an
Expo web app did not fail against this package at runtime, it failed to
build at all, and every such consumer had to patch the published dist to
get past it.
Putting the call inside a string leaves nothing for a bundler to parse and
nothing to strip. It needs unsafe-eval, which is why importGlue stays the
documented way out for a page under a strict CSP.
The docstring above it claimed bundlers chunk the glue. They never did,
since webpackIgnore told them not to.
0 commit comments