Webpack Plugin

Noun · Development

Definitions

  1. A JavaScript class with an apply(compiler) method that hooks into webpack's build lifecycle via its tapable event system, enabling custom behavior such as asset optimization, environment variable injection, bundle analysis, or code generation at specific compilation stages.

    In plain English: An add-on for the webpack build tool that customizes or extends what happens when your code is being bundled for production.

    Example: "I wrote a webpack plugin that hooks into the emit phase to generate a build manifest with content hashes for cache busting."

Related Terms