Plugin (build) - CI/CD Glossary Definition
A build plugin extends a bundler across the entire build, unlike a loader that transforms one file at a time.
A build plugin extends a bundler by hooking into the whole build lifecycle rather than a single file, enabling tasks like generating an HTML file, defining globals, or analyzing output. Webpack plugins tap into compiler hooks.
Plugins subscribe to compiler events to perform broad tasks, such as HtmlWebpackPlugin emitting an index.html or DefinePlugin injecting environment values. Rollup and Vite have their own plugin APIs. In CI, plugins commonly emit the manifest and asset hashes used for cache busting.
Related guides
Loader (webpack) - CI/CD Glossary DefinitionLoader (webpack): A loader in webpack is a transform applied to a file as it is imported, turning non-JavaScr…
Manifest File - CI/CD Glossary DefinitionManifest File: A manifest file is a build-generated JSON that maps logical asset names to their hashed output…
Asset Hashing - CI/CD Glossary DefinitionAsset Hashing: Asset hashing embeds a content-derived hash in output filenames (for example `app.3f9a1c.js`)…