Update example app to RN version 0.83.1 - #106
Conversation
|
9e9b69c to
5d9f1fa
Compare
| }, | ||
| ], | ||
| ], | ||
| plugins: ['babel-plugin-react-compiler'], |
There was a problem hiding this comment.
Ooooooooooh fancy! 😁
5d9f1fa to
4223686
Compare
| const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config'); | ||
| const path = require('path'); | ||
| const blacklist = require('metro-config/src/defaults/exclusionList'); | ||
| const { default: blacklist } = require('metro-config/private/defaults/exclusionList'); |
There was a problem hiding this comment.
🚩 Metro config uses internal/private path for exclusionList
The import changed from require('metro-config/src/defaults/exclusionList') to require('metro-config/private/defaults/exclusionList') with ES-module-style destructuring ({ default: blacklist }). The private path segment suggests this may be an internal API that could break in future metro versions. This is likely correct for the current metro version bundled with RN 0.83, but worth noting for future maintenance.
Was this helpful? React with 👍 or 👎 to provide feedback.
Update example app to RN version 0.83.1