Skip to content

Commit b281055

Browse files
committed
moved withLocalModules plugin from expo-modules-autolinking to default plugins
1 parent 183ef94 commit b281055

File tree

11 files changed

+64
-49
lines changed

11 files changed

+64
-49
lines changed

apps/sandbox/app.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141
"resizeMode": "contain",
4242
"backgroundColor": "#ffffff"
4343
}
44-
],
45-
["expo-modules-autolinking", {}]
44+
]
4645
],
4746
"web": {
4847
"bundler": "metro",

packages/@expo/prebuild-config/build/plugins/unversioned/expo-local-modules/withLocalModules.js

Lines changed: 49 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@expo/prebuild-config/build/plugins/unversioned/expo-local-modules/withLocalModules.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@expo/prebuild-config/build/plugins/withDefaultPlugins.js

Lines changed: 9 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@expo/prebuild-config/build/plugins/withDefaultPlugins.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@expo/prebuild-config/src/plugins/withDefaultPlugins.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import withSystemUI from './unversioned/expo-system-ui/expo-system-ui';
2929
import withUpdates from './unversioned/expo-updates';
3030
import withNewArchPlistHotfix from './unversioned/new-arch-plist-hotfix/new-arch-plist-hotfix';
3131
import withMaps from './unversioned/react-native-maps';
32+
import withLocalModules from './unversioned/expo-local-modules/withLocalModules';
3233

3334
const debug = Debug('expo:prebuild-config');
3435

@@ -144,6 +145,7 @@ const versionedExpoSDKPackages: string[] = [
144145
'expo-document-picker',
145146
'expo-splash-screen',
146147
'expo-system-ui',
148+
'expo-local-modules',
147149
];
148150

149151
export const withVersionedExpoSDKPlugins: ConfigPlugin = (config) => {
@@ -160,6 +162,7 @@ export const withVersionedExpoSDKPlugins: ConfigPlugin = (config) => {
160162
withSystemUI,
161163
withSplashScreen,
162164
withNavigationBar,
165+
withLocalModules,
163166
]);
164167
};
165168

packages/expo-modules-autolinking/app.plugin.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/expo-modules-autolinking/build/plugins/withLocalModules.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)