Skip to content

Commit b11ce18

Browse files
committed
Fix bug that babelTransformer do not work correctly in expo
1 parent e8634d2 commit b11ce18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin/metro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const bundle = async (filename) => {
2323

2424
const { code, map } = await Metro.runBuild(config, {
2525
entry: filename,
26-
platform: "web",
26+
platform: "rnrb",
2727
minify: true,
2828
});
2929
return code;

0 commit comments

Comments
 (0)