@es-pkg/config
v1.0.3
Published
gulp 配置
Downloads
7
Readme
@es-pkg/config
gulp 配置
📦 Installation
npm install @es-pkg/config
🏠 Exports
|参数|类型|
|---|---|
|☀️config|Variables
|
|☀️pkg|Variables
|
|🎗️default|Functions
|
|🎗️getDirectoryIndexPath|Functions
|
|🎗️getEntrypoint|Functions
|
|🎗️getIndexFilePath|Functions
|
|🎗️getJson|Functions
|
|🎗️getTsconfigIncludeFiles|Functions
|
|🎗️relativeToApp|Functions
|
|🎗️resolveApp|Functions
|
|🎗️resolveConfig|Functions
|
☀️Variables
Const
config
: Required
<EsPkgConfig
> & {
include: string
[];
} = ...
Const
pkg
: any
= ...
🎗️Functions
defineConfig
配置自定义
defineConfig(config:
EsPkgConfig
):EsPkgConfig
getDirectoryIndexPath
getDirectoryIndexPath(dir:
string
):string
getEntrypoint
getEntrypoint(_dir:
string
):string
getIndexFilePath
getIndexFilePath(_path:
string
):string
getJson
getJson(relativePath:
string
):any
getTsconfigIncludeFiles
getTsconfigIncludeFiles(): {
isDirectory:
boolean
;path:
string
;}[]
relativeToApp
relativeToApp(relativePath:
string
):string
resolveApp
resolveApp(relativePath:
string
):string
resolveConfig
- resolveConfig():
Promise
<void
>