How to use the @storybook/react-native/dist/server/config/webpack.config.default function in @storybook/react-native

To help you get started, we’ve selected a few @storybook/react-native examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wix / wix-react-native-storybook-template / local / webpack.config.js View on Github external
const defaultConfig = require('@storybook/react-native/dist/server/config/webpack.config').default;
const customConfig = require('wix-react-native-storybook-server/webpack.config');

module.exports = customConfig(defaultConfig);