WpwOutputExport

new WpwOutputExport(options)

Parameters:
NameTypeDescription
optionsWpwExportOptions

Extends

Members

(protected) ErrorCode

(protected) InfoCode

(protected) Msg

(protected) MsgCode

(protected) WarningCode

(protected) _arr_

Utility shortcut to @spmhome/type-utils/array set of functions

.

Utility shortcut to @spmhome/type-utils/array set of functions

(protected) _async_

Utility shortcut to @spmhome/cmn-utils/path set of functions

.

Utility shortcut to @spmhome/cmn-utils/path set of functions

(protected) _cmn_

Utility shortcut to @spmhome/cmn-utils/path set of functions

.

Utility shortcut to @spmhome/cmn-utils/path set of functions

(protected) _crypto_

Utility shortcut to @spmhome/type-utils/crypto set of functions

.

Utility shortcut to @spmhome/type-utils/crypto set of functions

(protected) _date_

Utility shortcut to @spmhome/type-utils/date set of functions

.

Utility shortcut to @spmhome/type-utils/date set of functions

(protected) _fs_

Utility shortcut to @spmhome/cmn-utils/fs set of functions

.

Utility shortcut to @spmhome/cmn-utils/fs set of functions

(protected) _io_

Utility shortcut to @spmhome/cmn-utils/io set of functions

.

Utility shortcut to @spmhome/cmn-utils/io set of functions

(protected) _json_

Utility shortcut to @spmhome/type-utils/json set of functions

.

Utility shortcut to @spmhome/type-utils/json set of functions

(protected) _mime_

Utility shortcut to @spmhome/type-utils/mime set of functions

.

Utility shortcut to @spmhome/type-utils/mime set of functions

(protected) _node_

Utility shortcut to @spmhome/cmn-utils/node set of functions

.

Utility shortcut to @spmhome/cmn-utils/node set of functions

(protected) _num_

Utility shortcut to @spmhome/type-utils/number set of functions

.

Utility shortcut to @spmhome/type-utils/number set of functions

(protected) _obj_

Utility shortcut to @spmhome/type-utils/object set of functions

.

Utility shortcut to @spmhome/type-utils/object set of functions

(protected) _path_

Utility shortcut to @spmhome/cmn-utils/path set of functions

.

Utility shortcut to @spmhome/cmn-utils/path set of functions

(protected) _pms_

Utility shortcut to @spmhome/type-utils/promise set of functions

.

Utility shortcut to @spmhome/type-utils/promise set of functions

(protected) _rgx_

Utility shortcut to @spmhome/type-utils/regex set of functions

.

Utility shortcut to @spmhome/type-utils/regex set of functions

(protected) _str_

Utility shortcut to @spmhome/type-utils/string set of functions

.

Utility shortcut to @spmhome/type-utils/string set of functions

(protected) _ts_

Utility shortcut to @spmhome/cmn-utils/ts set of functions

.

Utility shortcut to @spmhome/cmn-utils/ts set of functions

(protected) _types_

Utility shortcut to @spmhome/type-utils/type set of functions

.

Utility shortcut to @spmhome/type-utils/type set of functions

(protected) _ver_

Utility shortcut to @spmhome/cmn-utils/version set of functions

.

Utility shortcut to @spmhome/cmn-utils/version set of functions

(protected) _www_

Utility shortcut to @spmhome/cmn-utils/fetch set of functions

.

Utility shortcut to @spmhome/cmn-utils/fetch set of functions

build :WpwBuild

buildOptions :WpwBuildOptionsExportConfig.<"output">

Type:
  • WpwBuildOptionsExportConfig.<"output">

cacheMap :Record.<WpwBuildOptionsKey, WpwCache>

Type:

compilation :WebpackCompilation

Type:
  • WebpackCompilation

compiler :WebpackCompiler

Type:
  • WebpackCompiler

(protected) disposables :Array.<IDisposable>

Type:
  • Array.<IDisposable>

(protected) disposed :boolean

Type:
  • boolean

global

hasPluginHooks :boolean|undefined

Type:
  • boolean | undefined

hookCurrent :string|undefined

Type:
  • string | undefined

hookMessages :Record.<string, {start: string, done: string, fail: string}>

Type:
  • Record.<string, {start: string, done: string, fail: string}>

(protected) initialConfig :any

cloned initial configuration object prior to any runtime modifications

.

cloned initial configuration object prior to any runtime modifications

Type:
  • any

(protected) name :string

module name

.

module name

Type:
  • string

(protected) slug :string

url/path friendly module name

.

url/path friendly module name

Type:
  • string

(protected) spmh

Top level export of spmh shared library packages ...{ cls, type, util }...

Top level export of spmh shared library packages ...{ cls, type, util }...

(protected) store :WpwCache

subtype :WpwModuleSubType

Type:
  • WpwModuleSubType

Methods

addMessage(info, ifFirstopt) → {SpmhError}

Parameters:
NameTypeAttributesDescription
infoPartial.<SpmhMessageInfo> | SpmhError
ifFirstboolean | undefined<optional>
Returns:
Type: 
SpmhError

(protected) app(build)

Parameters:
NameTypeDescription
buildWpwBuild

(protected) base(build)

Parameters:
NameTypeDescription
buildWpwBuild

(protected) baseDone(build)

Parameters:
NameTypeDescription
buildWpwBuild

(protected) doxygen(build)

Parameters:
NameTypeDescription
buildWpwBuild

exec(command, program, asyncopt, optionsopt) → {WpwExecResultKind.<P>}

Parameters:
NameTypeAttributesDescription
commandstring
programstring
asyncP<optional>
optionsWpwModuleExecOptions<optional>
Returns:
Type: 
WpwExecResultKind.<P>

exec2(async, options) → {WpwExecResultKind.<P>}

Parameters:
NameTypeDescription
asyncP
optionsWpwExecOptions
Returns:
Type: 
WpwExecResultKind.<P>

(protected) extjsdoc(build)

Parameters:
NameTypeDescription
buildWpwBuild

(protected) getErrorMessageCfg(message, codeopt, exceptionopt) → {WpwBaseMessageInfo}

Parameters:
NameTypeAttributesDescription
messagestring
codeSpmhMessageCode | null<optional>
exceptionSpmhError | WebpackError | Error | undefined<optional>
Returns:
Type: 
WpwBaseMessageInfo

getStore(moduleKeyopt) → {WpwCache}

Parameters:
NameTypeAttributesDescription
moduleKeyWpwBuildOptionsKey<optional>
Returns:
Type: 
WpwCache

hashLength() → {number}

Since
  • 1.10.1
Returns:
Type: 
number

hookdone(msgopt, rtnopt) → {T}

Parameters:
NameTypeAttributesDescription
msgstring | number<optional>
rtnT<optional>
Since
  • 1.11.0
Returns:
Type: 
T

hookstart(msgopt, writePluginOptsopt) → {WpwLogger}

Parameters:
NameTypeAttributesDescription
msgstring | number<optional>
writePluginOptsboolean<optional>
Since
  • 1.11.0
Returns:
Type: 
WpwLogger

(protected) invalidHookConfig(hookName, hookType, configDsc) → {SpmhMessage}

Parameters:
NameTypeDefaultDescription
hookNamestring
hookType"compiler" | "compilation"compilation
configDscstringasync/sync
Returns:
Type: 
SpmhMessage

isAsyncHook(hook)

Parameters:
NameTypeDescription
hookany

(protected) isCompilationHook(hook)

Parameters:
NameTypeDescription
hookany

(protected) isSyncHook(hook, strictopt)

Parameters:
NameTypeAttributesDescription
hookany
strictboolean<optional>

(protected) isTapableHook(hook) → {boolean}

Parameters:
NameTypeDescription
hookWpwWebpackCompilerHook | WebpackCompilationHookName
Returns:

hook is WebpackHook

Type: 
boolean

(protected) jsdoc(build)

Parameters:
NameTypeDescription
buildWpwBuild

(protected) lib(build)

Parameters:
NameTypeDescription
buildWpwBuild

(protected) plugin(build)

Parameters:
NameTypeDescription
buildWpwBuild

(protected) resource(_build)

Parameters:
NameTypeDescription
_buildWpwBuild

(protected) schema(_build)

Parameters:
NameTypeDescription
_buildWpwBuild

(protected) script(build)

Parameters:
NameTypeDescription
buildWpwBuild

(protected) tapCompilationHooks(optionsArray)

Parameters:
NameTypeDescription
optionsArrayArray.<WpwPluginCompilationTapOptionsPair.<any, any, boolean>>

(protected) tests(_build)

Parameters:
NameTypeDescription
_buildWpwBuild

(protected) types(_build)

Parameters:
NameTypeDescription
_buildWpwBuild

(protected) webapp(build)

Parameters:
NameTypeDescription
buildWpwBuild