mirror of https://github.com/webpack/webpack.git
				
				
				
			| 
				
					
						
							 | 
			||
|---|---|---|
| .. | ||
| README.md | ||
| build.js | ||
| example.js | ||
| template.md | ||
| webpack.config.js | ||
		
			
				
				README.md
			
		
		
			
			
		
	
	This configuration will enable the minimal output for the stats report.
You see that everything is working nicely together.
example.js
console.log("Hello World!");
webpack.config.js
"use strict";
const path = require("path");
module.exports = {
    output: {
		path: path.join(__dirname, "dist"),
		filename: "output.js"
	},
	stats: "minimal"
};
dist/output.js
/******/ (() => { // webpackBootstrap
/*!********************!*\
  !*** ./example.js ***!
  \********************/
/*! unknown exports (runtime-defined) */
/*! runtime requirements:  */
console.log("Hello World!");
/******/ })()
;
Info
Production mode
1 asset
1 module
webpack X.X.X compiled successfully