Closed
Description
If you log out an object
by default it is pretty printed to stdout
. However, if I do the same with debug it prints a nicely highlighted version of it but squashed.
console.log(config);
// { context: '/Users/synthecypher/dev/app/frontend/scripts',
// devtool: 'source-map',
// entry:
// { alpha: [ './alpha/alpha.module.js' ],
// beta: [ './beta/beta.module.js' ],
// gamma: [ './gamma/gamma.module.js' ] },
// module: { loaders: [ [Object], [Object] ] },
// output:
// { filename: '[name].module.js',
// path: '/Users/synthecypher/dev/app/static/r1197/dist/scripts' },
// externals: { angular: 'angular' },
// plugins: [],
// watch: true }
debug(config);
// dist-frontend { context: '/Users/synthecypher/dev/app/frontend/scripts', devtool: 'source-map', entry: { alpha: [ './alpha/alpha.module.js' ], beta: [ './beta/beta.module.js' ], gamma: [ './gamma/gamma.module.js' ] }, module: { loaders: [ [Object], [Object] ] }, output: { filename: '[name].module.js', path: '/Users/joshuabarnett/dev/app/static/r1197/dist/scripts' }, externals: { angular: 'angular' }, plugins: [], watch: true } +0ms
Metadata
Metadata
Assignees
Labels
No labels