Table of Contents
How Plugins Work discussion
Automatically generate a
html file for serving your bundle. Within
keypassed into DefinePlugin is an identifier or multiple identifiers joined with
- If the value is a
stringit will be used as a code fragment.
- If the value isn't a
will be stringified(including functions).
- If the value is an
objectall keys are defined the same way.
- If you prefix
typeofto the key, it's only defined for typeof calls. (typeof window)