Skip to content

Commit 692ec74

Browse files
authored
chore(windows): fix Windows example app not loading (react-native-async-storage#1123)
1 parent 4217a18 commit 692ec74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

metro.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
const { makeMetroConfig } = require("@rnx-kit/metro-config");
2+
const path = require("node:path");
3+
24
module.exports = makeMetroConfig({
3-
projectRoot: `${__dirname}/example`,
5+
projectRoot: path.join(__dirname, "example"),
46
watchFolders: [__dirname],
57
resolver: {
68
extraNodeModules: {

0 commit comments

Comments
 (0)