Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Commit

Permalink
feat(logging): Improve logging
Browse files Browse the repository at this point in the history
see #20
  • Loading branch information
hypery2k committed Jan 19, 2017
1 parent 2aa84c8 commit 1c11fc6
Showing 1 changed file with 38 additions and 12 deletions.
50 changes: 38 additions & 12 deletions etc/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,47 @@ const METADATA = {
var config = {

stats: {
hash: false,
version: false,
timings: false,
assets: false,
chunks: false,
modules: false,
reasons: false,
children: false,
source: false,
// 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/",
// Add errors
errors: true,
// Add details to errors (like resolving log)
errorDetails: true,
warnings: false,
publicPath: false
// 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
},

/*
* The entry point for the bundle
* Our Angular.js app
Expand Down

0 comments on commit 1c11fc6

Please sign in to comment.