Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
[Webpack] Update webpack prod config stats.
Browse files Browse the repository at this point in the history
  • Loading branch information
aquariuslt committed Oct 4, 2018
1 parent 6f1813a commit 2d749bf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ yarn

### Development
```bash
yarn run dev
yarn dev
```

### Build Production Level files
```bash
yarn run build
yarn build
```

### Test
Expand Down
8 changes: 5 additions & 3 deletions config/webpack.prod.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,19 @@ let webpackProdConfig = merge(webpackBaseConfig, {
},
stats: {
colors: true,
env: true,
hash: true,
timings: true,
chunks: true,
chunkModules: false,
chunksSort: 'name',
chunksSort: 'field',
children: false,
modules: false,
reasons: false,
warnings: true,
warnings: false,
assets: false,
version: false
version: true,
publicPath: true
}
});

Expand Down
1 change: 0 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<base href="/">
<meta name="description" content="vue">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="favicon.png" type="image/x-icon">
</head>
<body>
<div id="app">
Expand Down

0 comments on commit 2d749bf

Please sign in to comment.