Stats
来源:互联网 发布:刘嘉玲面膜淘宝店 编辑:程序博客网 时间:2024/04/28 16:44
The stats
option lets you precisely control what bundle information gets displayed. This can be a nice middle ground if you don’t want to use quiet
or noInfo
because you want some bundle information, but not all of it.
T> For webpack-dev-server, this property needs to be in the devServer
object.
W> This option does not have any effect when using the Node.js API.
stats
object
string
There are some presets available to use as a shortcut. Use them like this:
stats: "errors-only"
"errors-only"
none Only output when errors happen "minimal"
none Only output when errors or new compilation happen "none"
false
Output nothing "normal"
true
Standard output "verbose"
none Output everythingFor more granular control, it is possible to specify exactly what information you want. Please note that all of the options in this object are optional.
stats: { // Add asset Information assets: true, // Sort assets by a field assetsSort: "field", // Add information about cached (not built) modules cached: true, // Add children information children: true, // Add chunk information (setting this to `false` allows for a less verbose output) chunks: true, // Add built modules information to chunk information chunkModules: true, // Add the origins of chunks and chunk merging info chunkOrigins: true, // Sort the chunks by a field chunksSort: "field", // Context directory for request shortening context: "../src/", // `webpack --colors` equivalent colors: true, // Add errors errors: true, // Add details to errors (like resolving log) errorDetails: true, // Add the hash of the compilation hash: true, // Add built modules information modules: true, // Sort the modules by a field modulesSort: "field", // Add public path information publicPath: true, // Add information about the reasons why modules are included reasons: true, // Add the source code of modules source: true, // Add timing information timings: true, // Add webpack version information version: true, // Add warnings warnings: true};
0 0
- Stats
- Documentation_scheduler_sched-stats
- Gather Stats
- 统计-stats
- scipy.stats
- Memcached的stats命令
- memcached的stats数据
- Oracle auto gather stats
- memcache stats 说明
- memcached stats命令详解
- X264中STATS输出
- memcached常用命令之stats
- Memcached statistics (stats command)
- memcache状态stats说明
- Node.js fs.Stats
- memcached-STATS、SETTINGS
- mc stats统计图
- About stats collected
- 责任链模式
- SSL协议会话建立过程解析
- jquery事件bind方法
- 关于JS中的JSON
- 接口优化小思
- Stats
- 微信小程序(1)
- Android APP测试流程
- String to Integer (atoi)-LeetCode
- iOS
- spring cloud 准备工作1
- NSUserDefaults读取和写入自定义对象
- 为什么javascript会有两个表示“没有”的类型呢?
- echart饼图和折线图实例