Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.89 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.89 KB

GitHub Actions status codecov

Feature

  • Improve output of your terninel, if you think those info is not very important too.

  • When you are waitting for compiling, you can remember one or two word. Power of accumulation is huge.

  • The word list is related to front end. When I read some English artice or document, I will record words that I don't know. You can also record your learning language word by your self.

Install

npm install toho-log-plugin

Usage

import TohoLogPlugin from 'toho-log-plugin';

module.exports = {
  plugins: [new TohoLogPlugin({ dev: true })],
};
  • If you use webpack-dev-server, you may need to set noInfo: false, or the output will console default compile info.

API

name description type default
dev to distinguish whether the environment is development, it effects the output of your terninel. Boolean true
path if you want to custom your own word file, you can use this as { path: __dirname + '/word/2017CET6-test.json' } string -
defaultWords there is a word list file in the plugin, about front, if you need this you can set this to true Boolean false
isPray if you are using webpackbar, you may need this to prevent info from watchRun or run Boolean true