Module: web-toggle-point-webpack

Webpack code for injecting toggle points

Classes

TogglePointInjection

Methods

(inner) pathSegmentToggleHandler(options) → {function}

Path Segment Toggle Handler
Parameters:
Name Type Description
options object plugin options
Properties
Name Type Description
togglePoint function a method that chooses the appropriate module at runtime
joinPoint module the join point module
params.variantPathMap Map a Map of posix file paths, relative to the join point module, to variant modules
Returns:
A handler of join points injected by the plugin
Type
function