Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Commit

Permalink
add presets definition
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Jan 8, 2018
1 parent de3a4ab commit 0e25130
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/poi/lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,17 @@ declare namespace poi {
vue?: any
/** Use Runtime + Compiler build of Vue.js */
templateCompiler?: boolean
/**
* Poi presets.
*
* Examples
* - `presets: './local-preset'`
* - `presets: ['react']`
* - `presets: [require('poi-preset-react')(options)]`
*/
presets?: string | any[]
/** Running mode */
mode?: 'development' | 'production' | 'test' | 'watch'
}

interface Entry {
Expand Down

0 comments on commit 0e25130

Please sign in to comment.