chore: storybook vite config 파일 제거
This commit is contained in:
@@ -11,11 +11,15 @@ const config: StorybookConfig = {
|
||||
],
|
||||
framework: {
|
||||
name: "@storybook/react-vite",
|
||||
options: {
|
||||
builder: {
|
||||
viteConfigPath: "./vite.config.storybook.ts",
|
||||
},
|
||||
},
|
||||
options: {},
|
||||
},
|
||||
viteFinal: (config) => {
|
||||
config.define = {
|
||||
"process.env.BASE_ASSETS_PATH": JSON.stringify(
|
||||
process.env.BASE_ASSETS_PATH,
|
||||
),
|
||||
};
|
||||
return config;
|
||||
},
|
||||
};
|
||||
export default config;
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
export default defineConfig({
|
||||
define: {
|
||||
"process.env.BASE_ASSETS_PATH": JSON.stringify(
|
||||
process.env.BASE_ASSETS_PATH,
|
||||
),
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user