safe-react/.storybook/webpack.config.js
Adolfo Panizo 5baa66150b
Landing Page (#9)
* 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
2018-03-15 11:14:20 +01:00

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;
};