@sprit/pretty-console-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

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 // 环境变量
    };
  }
})

Output(console)

示例

Package Sidebar

Install

npm i @sprit/pretty-console-webpack-plugin

Weekly Downloads

0

Version

0.1.9

License

MIT

Unpacked Size

112 kB

Total Files

31

Last publish

Collaborators

  • fantian001