Skip to content

Commit

Permalink
feat: disable internal webpack log plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Jan 27, 2019
1 parent f887cc4 commit 858ea4b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Expand Up @@ -11,6 +11,12 @@ logger.setOptions({ logLevel: 1 })
module.exports = (opts, ctx) => ({
name: 'vuepress-plugin-export',

chainWebpack(config) {
config.plugins.delete('bar')
// TODO vuepress should give plugin the ability to remove this plugin
config.plugins.delete('vuepress-log')
},

extendCli(cli) {
cli
.command('export [targetDir]', 'export current vuepress site to a PDF file')
Expand Down

0 comments on commit 858ea4b

Please sign in to comment.