react-native-navigation的迁移库

babel.config.js 280B

12345678910111213141516
  1. module.exports = function (api) {
  2. api && api.cache(false);
  3. return {
  4. env: {
  5. test: {
  6. presets: [
  7. "module:metro-react-native-babel-preset"
  8. ],
  9. plugins: [
  10. "@babel/plugin-proposal-class-properties"
  11. ]
  12. }
  13. }
  14. };
  15. }