Skip to content

Commit

Permalink
fix($core): unexpected warning
Browse files Browse the repository at this point in the history
enhanceAppFiles: support String & Object, clientDynamicModules: support Object
  • Loading branch information
ulivz committed Oct 4, 2018
1 parent 8e82a03 commit 3fd51d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@vuepress/core/lib/plugin-api/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ const PLUGIN_OPTION_META_MAP = {
// options
CHAIN_WEBPACK: { name: 'chainWebpack', types: [Function] },
ENHANCE_DEV_SERVER: { name: 'enhanceDevServer', types: [Function] },
ENHANCE_APP_FILES: { name: 'enhanceAppFiles', types: [Array, Function] },
ENHANCE_APP_FILES: { name: 'enhanceAppFiles', types: [String, Object, Array, Function] },
OUT_FILES: { name: 'outFiles', types: [Object] },
EXTEND_PAGE_DATA: { name: 'extendPageData', types: [Function] },
EXTEND_MARKDOWN: { name: 'extendMarkdown', types: [Function] },
CHAIN_MARKDOWN: { name: 'chainMarkdown', types: [Function] },
CLIENT_DYNAMIC_MODULES: { name: 'clientDynamicModules', types: [Function] },
CLIENT_DYNAMIC_MODULES: { name: 'clientDynamicModules', types: [Object, Function] },
CLIENT_ROOT_MIXIN: { name: 'clientRootMixin', types: [String] },
ADDITIONAL_PAGES: { name: 'additionalPages', types: [Function, Array] },
GLOBAL_UI_COMPONENTS: { name: 'globalUIComponents', types: [String, Array] },
Expand Down

0 comments on commit 3fd51d5

Please sign in to comment.