new WpwBuild(wpw, wp, config)
| Name | Type | Description |
|---|---|---|
wpw | WpwWrapper | |
wp | WebpackType | |
config | IWpwBuildConfig |
- Implements
- IWpwBuildConfig
- Source
Extends
Members
(protected) ErrorCode
- Overrides
- Source
(protected) InfoCode
- Overrides
- Source
(protected) Msg
- Overrides
- Source
(protected) MsgCode
- Overrides
- Source
(protected) WarningCode
- Overrides
- Source
(protected) _arr_
Utility shortcut to @spmhome/type-utils/array set of functions
Utility shortcut to @spmhome/type-utils/array set of functions
- Overrides
- Source
(protected) _async_
Utility shortcut to @spmhome/cmn-utils/path set of functions
Utility shortcut to @spmhome/cmn-utils/path set of functions
- Overrides
- Source
(protected) _cmn_
Utility shortcut to @spmhome/cmn-utils/path set of functions
Utility shortcut to @spmhome/cmn-utils/path set of functions
- Overrides
- Source
(protected) _crypto_
Utility shortcut to @spmhome/type-utils/crypto set of functions
Utility shortcut to @spmhome/type-utils/crypto set of functions
- Overrides
- Source
(protected) _date_
Utility shortcut to @spmhome/type-utils/date set of functions
Utility shortcut to @spmhome/type-utils/date set of functions
- Overrides
- Source
(protected) _fs_
Utility shortcut to @spmhome/cmn-utils/fs set of functions
Utility shortcut to @spmhome/cmn-utils/fs set of functions
- Overrides
- Source
(protected) _io_
Utility shortcut to @spmhome/cmn-utils/io set of functions
Utility shortcut to @spmhome/cmn-utils/io set of functions
- Overrides
- Source
(protected) _json_
Utility shortcut to @spmhome/type-utils/json set of functions
Utility shortcut to @spmhome/type-utils/json set of functions
- Overrides
- Source
(protected) _mime_
Utility shortcut to @spmhome/type-utils/mime set of functions
Utility shortcut to @spmhome/type-utils/mime set of functions
- Overrides
- Source
(protected) _node_
Utility shortcut to @spmhome/cmn-utils/node set of functions
Utility shortcut to @spmhome/cmn-utils/node set of functions
- Overrides
- Source
(protected) _num_
Utility shortcut to @spmhome/type-utils/number set of functions
Utility shortcut to @spmhome/type-utils/number set of functions
- Overrides
- Source
(protected) _obj_
Utility shortcut to @spmhome/type-utils/object set of functions
Utility shortcut to @spmhome/type-utils/object set of functions
- Overrides
- Source
(protected) _path_
Utility shortcut to @spmhome/cmn-utils/path set of functions
Utility shortcut to @spmhome/cmn-utils/path set of functions
- Overrides
- Source
(protected) _pms_
Utility shortcut to @spmhome/type-utils/promise set of functions
Utility shortcut to @spmhome/type-utils/promise set of functions
- Overrides
- Source
(protected) _rgx_
Utility shortcut to @spmhome/type-utils/regex set of functions
Utility shortcut to @spmhome/type-utils/regex set of functions
- Overrides
- Source
_ssCache :WpwSnapshotService
- Source
(protected) _str_
Utility shortcut to @spmhome/type-utils/string set of functions
Utility shortcut to @spmhome/type-utils/string set of functions
- Overrides
- Source
(protected) _ts_
Utility shortcut to @spmhome/cmn-utils/ts set of functions
Utility shortcut to @spmhome/cmn-utils/ts set of functions
- Overrides
- Source
(protected) _types_
Utility shortcut to @spmhome/type-utils/type set of functions
Utility shortcut to @spmhome/type-utils/type set of functions
- Overrides
- Source
(protected) _ver_
Utility shortcut to @spmhome/cmn-utils/version set of functions
Utility shortcut to @spmhome/cmn-utils/version set of functions
- Overrides
- Source
(protected) _www_
Utility shortcut to @spmhome/cmn-utils/fetch set of functions
Utility shortcut to @spmhome/cmn-utils/fetch set of functions
- Overrides
- Source
crypto :WpwCrypto
- WpwCrypto
- Source
debug :boolean
- boolean
- Source
(protected) disposables :Array.<IDisposable>
- Array.<IDisposable>
- Overrides
- Source
(protected) disposed :boolean
- boolean
- Overrides
- Source
entry :WpwWebpackEntry
- WpwWebpackEntry
- Source
getBasePath
- Source
getBuild
- Source
getBuildConfig
- Source
getBuildConfigBy
- Source
getContextPath
- Source
getDistPath
- Source
getRootBasePath
- Source
getRootCtxPath
- Source
getRootDistPath
- Source
getRootSrcPath
- Source
getSrcPath
- Source
getSrcPathRegExp
- Source
getTempPath
- Source
global
- Overrides
- Source
(protected) initialConfig :any
cloned initial configuration object prior to any runtime modifications
.cloned initial configuration object prior to any runtime modifications
- any
- Overrides
- Source
library :WebpackLibrary|undefined
- WebpackLibrary |
undefined
- Source
loader :WpwWebpackLoaderType|undefined
- WpwWebpackLoaderType |
undefined
- Source
log :WpwLogOptions
- WpwLogOptions
- Source
logger :WpwLogger
- Source
main :boolean|undefined
- boolean |
undefined
- Source
mode :WpwWebpackMode
- WpwWebpackMode
- Source
(protected) name :string
module name
.module name
- string
- Overrides
- Source
options :WpwBuildOptions
- WpwBuildOptions
- Source
paths :WpwRcPaths
- WpwRcPaths
- Source
resources :WpwStaticResources
- WpwStaticResources
- Source
(protected) slug :string
url/path friendly module name
.url/path friendly module name
- string
- Overrides
- Source
(protected) spmh
Top level export of spmh shared library packages ...{ cls, type, util }...
- Overrides
- Source
target :WebpackTarget|Array.<WebpackTarget>
- WebpackTarget |
Array.<WebpackTarget>
- Source
type :WpwBuildType
- WpwBuildType
- Source
virtualEntry :WpwVirtualEntry
- WpwVirtualEntry
- Source
Methods
addMessage(info, ifFirstopt) → {SpmhError}
| Name | Type | Attributes | Description |
|---|---|---|---|
info | SpmhMessageInfo | | ||
ifFirst | boolean | <optional> |
- Source
- Type:
- SpmhError
addSuggestion(info, ifFirstopt) → {SpmhMessage}
| Name | Type | Attributes | Description |
|---|---|---|---|
info | SpmhSuggestionInfo | ||
ifFirst | boolean | <optional> |
- Source
- Type:
- SpmhMessage
dispose()
- Source
getContentHash(source) → {string}
| Name | Type | Description |
|---|---|---|
source | WebpackSource |
- Source
string
- Type:
- string
getEmitRelPath(path, basePathopt) → {string}
| Name | Type | Attributes | Description |
|---|---|---|---|
path | string | path to file | |
basePath | string | <optional> | path base relative from |
- Source
relative path to file, root @ context directtory
- Type:
- string
(async) init(lPad) → {Promise.<WpwBuild>}
| Name | Type | Description |
|---|---|---|
lPad | string |
- Source
- Type:
- Promise.<WpwBuild>
printMessageQ(lPad, seeDetailsClropt, newFnopt, newMsgopt)
| Name | Type | Attributes | Description |
|---|---|---|---|
lPad | string | | ||
seeDetailsClr | WpwLogColor | | <optional> | |
newFn | "error" | | <optional> | |
newMsg | string | <optional> |
- Source
printMessages(failedopt)
| Name | Type | Attributes | Description |
|---|---|---|---|
failed | boolean | <optional> |
- Source
pushImportedModule(info) → {Array.<IWpwRuntimeExternal>}
| Name | Type | Description |
|---|---|---|
info | IWpwRuntimeExternal |
- Source
- Type:
- Array.<IWpwRuntimeExternal>