react-native-navigation的迁移库

12345678910111213
  1. module.exports = function (api) {
  2. api && api.cache(false);
  3. return {
  4. presets: [
  5. "module:metro-react-native-babel-preset"
  6. ],
  7. plugins: [
  8. "@babel/plugin-proposal-export-namespace-from",
  9. "@babel/plugin-proposal-export-default-from"
  10. ]
  11. };
  12. }