@sprit/pretty-console-webpack-plugin
v0.1.10
Published
## Usage ```typescript import { PrettyConsoleWebpackPlugin } from '@sprit/pretty-console-webpack-plugin'; ```
Downloads
1
Maintainers
Readme
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 // 环境变量
};
}
})