Skip to content
PluginStats

asset-module-webpack-plugin weekly downloads statistics

By exponentjs · npm · Webpack plugins

A webpack plugin that emits JS modules for your assets such as images. This allows Node to load the modules that webpack generated for your assets without having to run webpack's bundle on the server.

View on npm Fresh · Oct 17, 2026

asset-module-webpack-plugin has 6 recorded weekly downloads on npm, a decrease of 70.0% over the past 30 days.

It ranks #2017 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by +20.0%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
6
Official API · Oct 17, 2026
7-day growth
-88.7%
-47 weekly downloads
30-day growth
-70.0%
-14 weekly downloads
90-day growth
+20.0%
+1 weekly downloads
Rank
#2017
Among tracked npm listings

About asset-module-webpack-plugin

AssetModulePlugin

A webpack plugin that emits JS modules for your assets such as images. This allows Node to load the modules that webpack generated for your assets without having to run webpack's bundle on the server.

Purpose

This plugin was written to facilitate server-side rendering of React components. The traditional approach is to build two webpack bundles, one for the browser and one for the server. This works, but there a few things about it that are unappealing:

• You need to write a second webpack config for the server-side bundle • The generated bundle is harder to debug and requires configuring Node to use source maps • Node has to read and parse the entire bundle the first time it is required, rather than lazily parsing components as needed

What we really wanted to do was run our JS files on Node directly instead of a bundle. The enhanced-require package looks like the most comprehensive solution, as it polyfills webpack for the server. However, it is unmaintained, and we needed only two features anyway: We wanted to be able to require CSS/LESS files without throwing an error, and we wanted require('./icon.png') to return the full CDN path to the icon. My goal was for this code to run:

How it works

The plugin runs after compilation and translates the path of the source asset to a destination path (you configure this with the sourceBase and destinationBase options). It then writes the full path of the asset to a file at the destination path. It emit files like this:

How to use it

In your webpack configuration file, add this to your list of plugins:

This takes your assets whose filenames don't end in ".js" and aren't under "node_modules" and moves them from "src" to "build". The original asset's path relative to "src" will be the same as the emitted module's path relative to "build".

Requirements

We use the class keyword so io.js 2.0+ is required.

Ideas

If you have ideas for how to improve server-side rendering we'd be happy to chat. Open up a GitHub issue or join our Slack chat at http://exp.host/community.

Contributing

Run npm run-script build to build lib from src.

Description from the npm listing.

  • webpack
  • webpack-plugin
  • assets
  • server-side-rendering

Where asset-module-webpack-plugin sits in the listing

Each band is one page of 20. Weekly downloads on a log 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.

All npm2,248 listings · 113 pages · page 101, #18 (overall #2018)
All npm: every listing in weekly downloads order
PNG SVG
Webpack plugins247 listings · 13 pages · page 11, #17 (overall #217)
Webpack plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

asset-module-webpack-plugin weekly downloads on npm, last 90 days: 6 weekly downloads as of Oct 17, 2026, +20.0% over 90 days.asset-module-webpack-pluginWeekly downloads on npm · Last 90 days6downloads / week+20.0% over 90 days050100150200Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
asset-module-webpack-plugin weekly downloads on npm, last 90 days: 6 weekly downloads as of Oct 17, 2026, +20.0% over 90 days.
PNG SVG

7/30/90-day growth

asset-module-webpack-plugin weekly downloads growth on npm: -88.7% over 7 days, -70.0% over 30 days, +20.0% over 90 days.asset-module-webpack-pluginWeekly downloads growth on npm6downloads / week now7-day growth-47 weekly downloads-88.7%30-day growth-14 weekly downloads-70.0%90-day growth+1 weekly downloads+20.0%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
asset-module-webpack-plugin weekly downloads growth on npm: -88.7% over 7 days, -70.0% over 30 days, +20.0% over 90 days.
PNG SVG

Ranking history

asset-module-webpack-plugin npm ranking history: currently #2017 (by weekly downloads).asset-module-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#2017current rank#2015#2016#2017#2018#2019Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
asset-module-webpack-plugin npm ranking history: currently #2017 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (121)
Recent weekly downloads observations for asset-module-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
60
6+2
4-3
7-10
170
17-32
49-4
530
530
53-7
60+3
57-99
156+4
152—

Similar npm Webpack plugins plugins

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/asset-module-webpack-plugin. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.