Members
(constant) SpmhWebpackConsole
(constant) WpwAnalyzePlugin
- Source
(constant) WpwAnalyzePlugin
- Source
(constant) WpwAnalyzePlugin
(constant) WpwBase
- Source
(constant) WpwBase
- Source
(constant) WpwBaseTaskPlugin
- Source
(constant) WpwCache
- Source
(constant) WpwDocPlugin
- Source
(constant) WpwDocPlugin
- Source
(constant) WpwDocPlugin
- Source
(constant) WpwIsoReleasePlugin
- Source
(constant) WpwIsoReleasePlugin
(constant) WpwIsoReleasePlugin
- Source
(constant) WpwModule
- Source
(constant) WpwModule
- Source
(constant) WpwModule
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwPlugin
- Source
(constant) WpwService
- Source
(constant) WpwService
- Source
(constant) WpwService
- Source
(constant) WpwTaskPlugin
- Source
(constant) WpwTaskPlugin
- Source
(constant) WpwTaskPlugin
- Source
(constant) WpwTsProgram
- Source
(constant) WpwWebpackExport
- Source
(constant) WpwWebpackExport
- Source
(constant) WpwWebpackExport
- Source
(constant) WpwWebpackExport
- Source
(constant) WpwWebpackExport
- Source
(constant) WpwWebpackExport
- Source
(constant) WpwWebpackExport
- Source
(constant) WpwWebpackExport
- Source
(constant) WpwWebpackExport
- Source
(constant) WpwWebpackExport
- Source
(constant) cache
- Source
(constant) cliArgMap :ISpmhArgParserMap
- ISpmhArgParserMap
- Source
(constant) cliOptions :ISpmhArgParserOptions
- ISpmhArgParserOptions
- Source
(constant) globalEnv
- Source
(constant) globalEnv :IWpwGlobalEnvironment
- IWpwGlobalEnvironment
- Source
logger :WpwLogger
(constant) os
- Source
(constant) plugins
- Source
(constant) schema :SpmhJsonSchema
- SpmhJsonSchema
terserOptions :MinifyOptions
- MinifyOptions
- Source
(constant) webpack
- Source
(constant) wpwBuildOptionsKeys
- Since
- 1.11.0
- Source
(constant) wpwBuildOptionsRootKeys
- Since
- 1.11.0
- Source
Methods
_printQ(b, txt, q, failed, last)
| Name | Type | Description |
|---|---|---|
b | WpwBuild | |
txt | string | |
q | Array.<SpmhMessage> | |
failed | boolean | |
last | boolean |
- Source
angular(opts, logger) → {boolean}
| Name | Type | Description |
|---|---|---|
opts | any | |
logger | WpwLogger |
- Source
- Type:
- boolean
(async) applyVendorMods(opts, logger) → {Promise.<boolean>}
| Name | Type | Description |
|---|---|---|
opts | any | |
logger | WpwLogger |
- Source
- Type:
- Promise.<boolean>
babel(tsopt) → {WebpackRuleSetUseItem}
| Name | Type | Attributes | Description |
|---|---|---|---|
ts | boolean | <optional> |
- Source
- Type:
- WebpackRuleSetUseItem
breakProp(prop, wpwMod) → {string}
Break property name into separate spaced words at each camel cased character
.Break property name into separate spaced words at each camel cased character
| Name | Type | Description |
|---|---|---|
prop | string | |
wpwMod | WpwModule |
- Source
string
- Type:
- string
cleanupBuildDone(build, loggeropt)
- Source
createEntryObjFromDir(dir, ext, recurseopt, ignoreopt) → {any}
| Name | Type | Attributes | Description |
|---|---|---|---|
dir | string | ||
ext | WpwSourceCodeExtension | | ||
recurse | boolean | | <optional> | |
ignore | string | | <optional> |
- Source
- Type:
- any
defaultProcessFn(builtPolicy, pluginData, $)
The default function for adding the CSP to the head of a document
Can be overwritten to allow the developer to process the CSP in their own way
The default function for adding the CSP to the head of a document
Can be overwritten to allow the developer to process the CSP in their own way
| Name | Type | Description |
|---|---|---|
builtPolicy | string | |
pluginData | object | |
$ | object |
- Source
error(e, padopt) → {SpmhLogErrorFnResult.<E>}
| Name | Type | Attributes | Description |
|---|---|---|---|
e | E | ||
pad | string | | <optional> |
- Source
- Type:
- SpmhLogErrorFnResult.<E>
esbuild(tsopt) → {WebpackRuleSetUseItem}
| Name | Type | Attributes | Description |
|---|---|---|---|
ts | boolean | <optional> |
- Source
- Type:
- WebpackRuleSetUseItem
exportConfig(name, createFn, build, wpc) → {any}
| Name | Type | Description |
|---|---|---|
name | string | |
createFn | function | |
build | WpwBuild | |
wpc | WpwWebpackConfig |
- Source
- Type:
- any
formatJsError(err, topTitle) → {string}
| Name | Type | Default | Description |
|---|---|---|---|
err | Error | | ||
topTitle | string | EXCEPTION |
- Source
- Type:
- string
getScriptBuildAssets(cfg, …addtl) → {Array.<string>}
| Name | Type | Attributes | Description |
|---|---|---|---|
cfg | WpwPluginConfigScript | | ||
addtl | Array.<string> | <repeatable> |
- Source
- Type:
- Array.<string>
getScriptBuildDependencies(build, cfg, …addtl) → {Array.<string>}
| Name | Type | Attributes | Description |
|---|---|---|---|
build | WpwBuild | ||
cfg | WpwPluginConfigScript | | ||
addtl | Array.<string> | <repeatable> |
- Source
- Type:
- Array.<string>
getUniqBuildKey(buildopt, prependBuildNmopt, xKeyopt, jChropt) → {string}
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
build | WpwBuild | | <optional> | ||
prependBuildNm | boolean | | <optional> | ||
xKey | string | <optional> | ||
jChr | "-" | | <optional> | - |
- Since
- 1.11.0
- Source
- Type:
- string
getUniqKey(wpw, xKey, jChropt) → {string}
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
wpw | WpwWrapper | |||
xKey | string | |||
jChr | "-" | | <optional> | - |
- Since
- 1.11.0
- Source
- Type:
- string
hookdone(msgopt, rtnopt) → {T}
| Name | Type | Attributes | Description |
|---|---|---|---|
msg | string | <optional> | |
rtn | T | <optional> |
- Since
- 1.11.0
- Source
- Type:
- T
hookstart(msgopt) → {WpwLogger}
| Name | Type | Attributes | Description |
|---|---|---|---|
msg | string | <optional> |
- Source
- Type:
- WpwLogger
isWpwBuildOptionsKey(group, key, stat)
| Name | Type | Description |
|---|---|---|
group | string | |
key | any | |
stat | boolean | set to |
- Since
- 1.11.0
- Source
isWpwBuildOptionsRootKey(key, stat)
| Name | Type | Description |
|---|---|---|
key | any | |
stat | boolean | set to |
- Since
- 1.11.0
- Source
(async) jsdoc(opts, logger) → {Promise.<boolean>}
| Name | Type | Description |
|---|---|---|
opts | any | |
logger | WpwLogger |
- Source
- Type:
- Promise.<boolean>
loader(source, map, meta)
| Name | Type | Description |
|---|---|---|
source | string | |
map | string | |
meta | any |
loaderAsync(source, map, meta)
| Name | Type | Description |
|---|---|---|
source | string | |
map | string | |
meta | any |
nodefetch(opts, logger) → {boolean}
| Name | Type | Description |
|---|---|---|
opts | any | |
logger | WpwLogger |
- Source
- Type:
- boolean
nyc(opts, logger) → {boolean}
| Name | Type | Description |
|---|---|---|
opts | any | |
logger | WpwLogger |
- Source
- Type:
- boolean
printBuildMessages(build, failed, suppress)
| Name | Type | Description |
|---|---|---|
build | WpwBuild | |
failed | boolean | |
suppress | Array.<string> |
- Source
printBuildProperties(build, logIcon, lPad)
| Name | Type | Description |
|---|---|---|
build | WpwBuild | |
logIcon | any | |
lPad | string |
- Source
printWpcProperties(build, logIcon, lPad)
| Name | Type | Description |
|---|---|---|
build | WpwBuild | |
logIcon | any | |
lPad | string |
- Source
printWpwProperties(w, logIcon, lPad)
| Name | Type | Description |
|---|---|---|
w | WpwWrapper | |
logIcon | any | |
lPad | string |
- Source
sortBuildOptions(x, y) → {number}
| Name | Type | Description |
|---|---|---|
x | string | |
y | string |
- Source
- Type:
- number
sourcemapPlugin(opts, logger) → {boolean}
| Name | Type | Description |
|---|---|---|
opts | any | |
logger | WpwLogger |
- Source
- Type:
- boolean
task(_tsopt) → {WebpackRuleSetUseItem}
| Name | Type | Attributes | Description |
|---|---|---|---|
_ts | boolean | <optional> |
- Source
- Type:
- WebpackRuleSetUseItem
(async) taskLoader(ctx, source, map, meta) → {Promise.<WpwLoaderResult>}
| Name | Type | Description |
|---|---|---|
ctx | WebpackLoaderContext | |
source | string | |
map | any | |
meta | any |
- Type:
- Promise.<WpwLoaderResult>
ts(_tsopt) → {WebpackRuleSetUseItem}
| Name | Type | Attributes | Description |
|---|---|---|---|
_ts | boolean | <optional> |
- Source
- Type:
- WebpackRuleSetUseItem
tsLoader(opts, logger) → {boolean}
| Name | Type | Description |
|---|---|---|
opts | any | |
logger | WpwLogger |
- Source
- Type:
- boolean
value(msg, val, lvlopt, padopt) → {void}
| Name | Type | Attributes | Description |
|---|---|---|---|
msg | string | ||
val | any | ||
lvl | WpwLoggerLevel | <optional> | |
pad | string | | <optional> |
- Source
- Type:
- void
values(values, lvlopt, padopt, blankopt, hdropt)
| Name | Type | Attributes | Description |
|---|---|---|---|
values | SpmhLogValuesParam | message/value pairs | |
lvl | SpmhLogLevel | <optional> | logging level |
pad | string | | <optional> | message pre-padding |
blank | boolean | | <optional> | |
hdr | string | | <optional> | header / title / 1st line text |
- Source
webpackDefaultExports(build) → {WpwWebpackConfig}
| Name | Type | Description |
|---|---|---|
build | WpwBuild |
- Source
- Type:
- WpwWebpackConfig
webpackExports(build, lPad) → {WpwWebpackConfig}
| Name | Type | Description |
|---|---|---|
build | WpwBuild | |
lPad | string |
- Source
- Type:
- WpwWebpackConfig
wpwNodeModulesPath() → {string}
- Since
- 1.12.0
- Source
- Type:
- string
wpwPath() → {string}
- Source
- Type:
- string
wrapHookHandler(name, async, plugin, options) → {R}
| Name | Type | Description |
|---|---|---|
name | string | |
async | A | |
plugin | WpwModule | |
options | WpwPluginBaseTapOptions.<any, any, A> |
- Source
- Type:
- R
write(msg, lvlopt, padopt) → {WpwLogger}
| Name | Type | Attributes | Description |
|---|---|---|---|
msg | string | ||
lvl | WpwLoggerLevel | <optional> | |
pad | string | | <optional> |
- Source
- Type:
- WpwLogger