Skip to content

Commit 208fe57

Browse files
retyuinecolas
authored andcommitted
Update multi-platform.md
1 parent 922c134 commit 208fe57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-native-web-docs/src/pages/docs/getting-started/multi-platform.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ const babelLoaderConfiguration = {
9393
loader: 'babel-loader',
9494
options: {
9595
cacheDirectory: true,
96-
// The 'metro-react-native-babel-preset' preset is recommended to match React Native's packager
97-
presets: ['module:metro-react-native-babel-preset'],
96+
// The '@react-native/babel-preset' preset is recommended to match React Native's packager
97+
presets: ['module:@react-native/babel-preset'],
9898
// Re-write paths to import only the modules needed by the app
9999
plugins: ['react-native-web']
100100
}

0 commit comments

Comments
 (0)