mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-21 05:02:39 +08:00
Add update config to app/mithril
This commit is contained in:
parent
41ca8bd4dc
commit
c1f3337bfe
@ -17,7 +17,7 @@ import { includePaths, excludePaths, nodeModulesPaths, loadEnv, nodePaths } from
|
||||
import babelLoaderConfig from './babel';
|
||||
import { version } from '../../../package.json';
|
||||
|
||||
export default function(configDir) {
|
||||
export default function(configDir, quiet) {
|
||||
const config = {
|
||||
mode: 'development',
|
||||
devtool: 'cheap-module-source-map',
|
||||
@ -59,9 +59,9 @@ export default function(configDir) {
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
new CaseSensitivePathsPlugin(),
|
||||
new WatchMissingNodeModulesPlugin(nodeModulesPaths),
|
||||
new webpack.ProgressPlugin(),
|
||||
quiet ? null : new webpack.ProgressPlugin(),
|
||||
new Dotenv({ silent: true }),
|
||||
],
|
||||
].filter(Boolean),
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user