Commit 204d125b472921c37b43deacafe1d06e0ed636aa
1 parent
b608a198
webpack.server 版本
Showing
2 changed files
with
3 additions
and
2 deletions
build/webpack.dev.conf.js
| ... | ... | @@ -23,6 +23,8 @@ const devWebpackConfig = merge(baseWebpackConfig, { |
| 23 | 23 | // these devServer options should be customized in /config/index.js |
| 24 | 24 | devServer: { |
| 25 | 25 | clientLogLevel: 'warning', |
| 26 | + inline:false, | |
| 27 | + | |
| 26 | 28 | historyApiFallback: { |
| 27 | 29 | rewrites: [ |
| 28 | 30 | { from: /.*/, to: path.posix.join(config.dev.assetsPublicPath, 'index.html') }, |
| ... | ... | @@ -56,7 +58,6 @@ const devWebpackConfig = merge(baseWebpackConfig, { |
| 56 | 58 | filename: 'index.html', |
| 57 | 59 | template: 'index.html', |
| 58 | 60 | inject: true, |
| 59 | - favicon:'../static/favicon.ico' | |
| 60 | 61 | }), |
| 61 | 62 | // copy custom static assets |
| 62 | 63 | new CopyWebpackPlugin([ | ... | ... |
package.json