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
variants Array.<string> an array of paths, as generated by webpack, that point to variants of the join point module
Returns:
A handler of join points injected by the plugin
Type
function