diff --git a/config/storybook/decorators/StoreDecorator.js b/config/storybook/decorators/StoreDecorator.js index b976cca8..3094a499 100644 --- a/config/storybook/decorators/StoreDecorator.js +++ b/config/storybook/decorators/StoreDecorator.js @@ -1,4 +1,4 @@ -import {StoreProvider} from "../../../src/app/providers/SroreProvider/index.js"; +import {StoreProvider} from "../../../src/app/providers/SroreProvider/index.ts"; export const StoreDecorator = (initialState) => (Story) => ( diff --git a/config/storybook/webpack.config.js b/config/storybook/webpack.config.js index 11ad0f75..170287e3 100644 --- a/config/storybook/webpack.config.js +++ b/config/storybook/webpack.config.js @@ -21,6 +21,7 @@ module.exports = ({ config }) => { config?.plugins?.push( new DefinePlugin({ __API__: JSON.stringify(process.env.APP_HOSTNAME), + __IS_DEV__: true, }), );