WebPack- DashBoard是一款命令行界面仪表盘工具,用于WebPack开发服务端。
安装:
npm install webpack-dashboard --save-dev
使用示例代码:
app.use(require('webpack-dev-middleware')(compiler, { quiet: true, publicPath: config.output.publicPath, })); app.use(require('webpack-hot-middleware')(compiler, { log: () => {} }));
截图预览: