Skip to content

Commit 032ef22

Browse files
committed
fix: storybook web환경 import 제한
1 parent e181a4d commit 032ef22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metro.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ config = withNativeWind(config, {
1818
// Reanimated 설정 적용 (마지막에 wrap!)
1919
// module.exports = wrapWithReanimatedMetroConfig(config);
2020
module.exports = withStorybook(config, {
21-
enabled: true,
21+
enabled: process.env.STORYBOOK === "true",
2222
configPath: path.resolve(__dirname, "./.rnstorybook"),
2323
});

0 commit comments

Comments
 (0)