webpack-genius
Version:
**For chinese developers:** you'd better add taobao mirror before everything start. Or you may fail to install. ```bash yarn config set registry http://registry.npm.taobao.org ```
20 lines (19 loc) • 499 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.setStats = void 0;
exports.setStats = function (_, genius) {
return {
colors: true,
chunks: false,
chunkModules: false,
chunkOrigins: false,
modules: false,
moduleTrace: false,
source: false,
warnings: true,
// 打包后的列表
assets: genius.isBuild(),
entrypoints: genius.isBuild(),
children: false,
};
};