0.1.9 • Published 5 months ago
@sprit/pretty-console-webpack-plugin v0.1.9
console important message with color tags
Usage
import { PrettyConsoleWebpackPlugin } from '@sprit/pretty-console-webpack-plugin';
configure
new PrettyConsoleWebpackPlugin({
git: {
branch: true,
hash: 7,
lastCommitDateTime: true
},
custom() {
return {
'构建版本': process.env.BUILD_VERSION // 环境变量
};
}
})