Created
April 17, 2017 21:49
-
-
Save karlhorky/36407633411026275acdee51440d5053 to your computer and use it in GitHub Desktop.
Show all hidden modules in webpack-dev-server output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const WebpackDevServer = require('webpack-dev-server'); | |
const webpackOptions = require('../config/webpack/webpack.dev'); | |
const compiler = webpack(webpackOptions); | |
const devServer = new WebpackDevServer(compiler, { | |
quiet: false, // Turn on logging (false is the default) | |
stats: { | |
maxModules: Infinity, // Does the same thing as --display-modules webpack command line option (shows all hidden modules) | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment