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
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
The regenerator-runtime@0.10.5/runtime.js is not minified properly. Throwing the following error:
ExceptionsManager.js:73 uncaught at n at n
ReferenceError: record is not defined
at Generator._invoke (http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=true:221:931)
at Generator.t.(anonymous function) [as next] (http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=true:221:1352)
at t (http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=true:869:536)
at o (http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=true:869:7374)
at t.runSaga (http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=true:867:806)
at o.default (http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=true:865:440)
at http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=true:514:173
at t (http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=true:2:1273)
at http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=true:2:614
at n (http://localhost:8081/index.android.bundle?platform=android&dev=true&minify=true:2:622)
The text was updated successfully, but these errors were encountered:
navarroaxel
changed the title
Minification breaks regenerator-runtime package and the react-native app is not usable
Minification breaks regenerator-runtime package and redux-saga is not usable
Nov 7, 2017
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
The regenerator-runtime@0.10.5/runtime.js is not minified properly. Throwing the following error:
This is the original code:
This is the minified:
The
regenerator-runtime/runtime.js
has this header with strict mode enabled (this cause the error):With this error the
redux-saga
package is unusable and the whole app is broken.If the current behavior is a bug, please provide the steps to reproduce and a minimal repository on GitHub that we can
yarn install
andyarn test
.What is the expected behavior?
The
record
variable is well defined. Work fine on:Please provide your exact metro-bundler configuration and mention your metro-bundler, node, yarn/npm version and operating system.
The text was updated successfully, but these errors were encountered: