Skip to content
PluginStats

webpack-inline-manifest-plugin weekly downloads statistics

By almothafar · npm · Webpack plugins

Inline the webpack runtime/manifest chunk with a <script> tag to save an HTTP request.

View on npm Fresh · Dec 6, 2026

webpack-inline-manifest-plugin has 2,005 recorded weekly downloads on npm, a decrease of 44.0% over the past 30 days, ranking #1877 of 3,247 tracked listings.

Weekly downloads
2,005
Official API · Dec 5, 2026
7-day growth
-18.8%
-465 weekly downloads
30-day growth
-44.0%
-1.6K weekly downloads
90-day growth
-66.9%
-4.1K weekly downloads
Rank
#1877
▼ 156 in 7 days

About webpack-inline-manifest-plugin

Webpack Inline Manifest Plugin

CI npm version npm downloads install size types: included code style: prettier license

A webpack plugin that inlines the runtime/manifest chunk with a <script> tag, saving one render-blocking HTTP request.

webpack's runtime is small but changes on almost every build. The common pattern is to split it into its own chunk (optimization.runtimeChunk) so the rest of your bundles stay long-term cacheable — but then that tiny chunk costs a separate request. This plugin embeds it directly into the HTML produced by html-webpack-plugin so you get the caching benefit without the extra request.

Requirements

webpack-inline-manifest-pluginwebpackhtml-webpack-pluginNode.js
5.x (this version)55>= 10.13
4.x43>= 8

For webpack 4 / html-webpack-plugin 3, stay on v4.0.2.

Installation

npm install webpack-inline-manifest-plugin --save-dev

webpack and html-webpack-plugin are peer dependencies — you almost certainly already have them. The plugin itself has no runtime dependencies.

Usage

Step 1 — split out the runtime chunk
// webpack.config.js
module.exports = {
  optimization: {
    // The chunk name must match the plugin's `name` option below.
    runtimeChunk: { name: 'webpackManifest' },
  },
};

Using runtimeChunk: 'single' instead? That names the chunk runtime, so set the plugin's name option to 'runtime'.

Step 2 & 3 — add the plugins

Add WebpackInlineManifestPlugin after HtmlWebpackPlugin:

const HtmlWebpackPlugin = require('html-webpack-plugin');
const WebpackInlineManifestPlugin = require('webpack-inline-manifest-plugin');

module.exports = {
  // ...
  plugins: [
    new HtmlWebpackPlugin(),
    new WebpackInlineManifestPlugin({
      name: 'webpackManifest', // must equal the runtimeChunk name (default: 'webpackManifest')
    }),
  ],
};

That's it. With html-webpack-plugin's default inject: true, the plugin finds the external <script src="webpackManifest.js"> tag and replaces it inline, in place — so load order is preserved and nothing else in your template needs to change.

Manual placement (template mode)

If you render your own template with inject: false, the inline <script> is exposed as htmlWebpackPlugin.files[name] so you can place it wherever you like:

new HtmlWebpackPlugin({
  inject: false,
  template: 'src/index.ejs',
});
<!-- src/index.ejs -->
<!doctype html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>App</title>
  </head>
  <body>
    <%= htmlWebpackPlugin.files.webpackManifest %>
  </body>
</html>

Options

OptionTypeDefaultDescription
namestring'webpackManifest'The runtime chunk to inline. Must match your optimization.runtimeChunk name. Also the key used for htmlWebpackPlugin.files[name] in template mode. Cannot be "manifest" (reserved by html-webpack-plugin for the HTML5 appcache manifest).

How it works

  • inject: true (default): taps html-webpack-plugin's alterAssetTagGroups hook and swaps the runtime's <script src> tag for an inline <script> containing its code. nonce / type attributes are preserved (handy for CSP), while src / defer / async are dropped.
  • inject: false: taps beforeAssetTagGeneration, removes the runtime from the external asset list, and exposes the inline markup as htmlWebpackPlugin.files[name].
  • A trailing //# sourceMappingURL= comment is stripped from the inlined code, and the asset source is normalised with .toString() so it works for production builds where webpack emits a Buffer (RawSource) instead of a string.

The runtime chunk file is still emitted to your output directory (unreferenced); leaving it in place avoids breaking external references and service-worker precaches.

Alternatives…

Description from the npm listing.

  • webpack
  • webpack-plugin
  • webpack5
  • plugin
  • manifest
  • runtime
  • runtimeChunk
  • inline
  • html-webpack-plugin
  • webpack-inline-manifest-plugin

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

webpack-inline-manifest-plugin weekly downloads on npm, last 90 days: 2,005 weekly downloads as of Dec 5, 2026, -66.9% over 90 days.webpack-inline-manifest-pluginWeekly downloads on npm · Last 90 days2,005downloads / week-66.9% over 90 days01K2K3K4K5K6K7K8KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
webpack-inline-manifest-plugin weekly downloads on npm, last 90 days: 2,005 weekly downloads as of Dec 5, 2026, -66.9% over 90 days.

7/30/90-day growth

webpack-inline-manifest-plugin weekly downloads growth on npm: -18.8% over 7 days, -44.0% over 30 days, -66.9% over 90 days.webpack-inline-manifest-pluginWeekly downloads growth on npm2,005downloads / week now7-day growth-465 weekly downloads-18.8%30-day growth-1,578 weekly downloads-44.0%90-day growth-4,061 weekly downloads-66.9%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
webpack-inline-manifest-plugin weekly downloads growth on npm: -18.8% over 7 days, -44.0% over 30 days, -66.9% over 90 days.

Ranking history

webpack-inline-manifest-plugin npm ranking history: currently #1877 (by weekly downloads).webpack-inline-manifest-pluginnpm ranking · by weekly downloads · Last 90 days#1877current rank#400#600#800#1000#1200#1400#1600#1800#2000Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
webpack-inline-manifest-plugin npm ranking history: currently #1877 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 94, #17 (overall #1,877)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 3, #17 (overall #57)
Webpack plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (592)
Recent weekly downloads observations for webpack-inline-manifest-plugin
Date (UTC)Weekly downloadsChange vs. previous
2,005-1
2,006-15
2,021-80
2,101-22
2,123-220
2,343-171
2,514+44
2,470+6
2,464-52
2,516-16
2,532+33
2,499+62
2,437-95
2,532—

Similar npm Webpack plugins plugins

All 20 webpack-inline-manifest-plugin alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/webpack-inline-manifest-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.