mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-10 10:05:38 +00:00
5baa66150b
* Adding storybook * Fixing lint problems * Adding general styles and correct fonts to storybook * Adding static storybook build * Updating eslintrules to avoid react-router Link warnings * Adding classnames package for css-in-modules and updating babel-loader * Removing styles from .storybook config in favor of css-in-modules * Adding file loader for images in webpack prod and dev config * Adding footer color mui variable * Creating landing page view * Adding babel-jest * Created Img and PageFrame layout components * Created Block layout component * Created Link layout component * Updated styles veriable with constants * Refactored Welcome view * Adding vault icon and safe options(create and open) as buttons * Using yarn pck manager and update deploy script including storybook * Moving container to PageFrame and loading general styles in storybook * Enabling React SPA in surge * Improving look and feel of automatic github comment with links
14 lines
378 B
JavaScript
14 lines
378 B
JavaScript
|
|
process.env.NODE_ENV = 'development'
|
|
const prodConfig = require('../config/webpack.config.dev');
|
|
|
|
module.exports = function(storybookConfig, configType) {
|
|
|
|
const config = Object.assign({}, prodConfig);
|
|
|
|
storybookConfig.module.rules = storybookConfig.module.rules.concat(config.module.rules)
|
|
storybookConfig.resolve = config.resolve;
|
|
|
|
return storybookConfig;
|
|
};
|