-
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.
npm install toho-log-plugin
import TohoLogPlugin from 'toho-log-plugin';
module.exports = {
plugins: [new TohoLogPlugin({ dev: true })],
};
- If you use
webpack-dev-server
, you may need to setnoInfo: false
, or the output will console default compile info.
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 |