Skip to content

Commit 358988e

Browse files
committed
fix: storybook 삭제 및 query-string 충돌 해결
1 parent d54eb39 commit 358988e

File tree

13 files changed

+9647
-23049
lines changed

13 files changed

+9647
-23049
lines changed

.rnstorybook/index.ts

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

.rnstorybook/main.ts

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

.rnstorybook/preview.tsx

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

.rnstorybook/stories/Button.stories.tsx

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

.rnstorybook/stories/Button.tsx

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

.rnstorybook/stories/StoryExample.stories.tsx

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

.rnstorybook/storybook.requires.ts

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

app.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ export default {
103103
},
104104

105105
extra: {
106-
storybookEnabled: process.env.STORYBOOK,
107106
kakaoNativeAppKey: process.env.MYCODE_KAKAO_NATIVE_APP_KEY,
108107
BACKEND_URL: process.env.MYCODE_BACKEND_URL,
109108
NAVER_MAP_CLIENT_ID: process.env.NAVER_MAP_CLIENT_ID,

app/_layout.tsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
DefaultTheme,
66
ThemeProvider,
77
} from "@react-navigation/native";
8-
import Constants from "expo-constants";
98
import { useFonts } from "expo-font";
109
import { Stack } from "expo-router";
1110
import { StatusBar } from "expo-status-bar";
@@ -75,15 +74,4 @@ export default function RootLayout() {
7574
);
7675
}
7776

78-
let AppEntryPoint = RootLayout;
79-
80-
if (
81-
Constants.expoConfig?.extra?.storybookEnabled &&
82-
Constants.expoConfig.extra.storybookEnabled === "true"
83-
) {
84-
try {
85-
AppEntryPoint = require("../.rnstorybook").default;
86-
} catch (e) {
87-
console.warn("Storybook entry not found, skipping...");
88-
}
89-
}
77+
// let AppEntryPoint = RootLayout;

components/StoryExample.tsx

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

0 commit comments

Comments
 (0)