Skip to content
PluginStats

copy-modules-webpack-plugin weekly downloads statistics

By sonatype-nexus-community · npm · Webpack plugins

A webpack plugin that copies the original sources of all bundled files to a specified directory so that they might be analyzed by separate tools

View on npm Fresh · Dec 6, 2026

copy-modules-webpack-plugin has 1,557 recorded weekly downloads on npm, a decrease of 20.9% over the past 30 days, ranking #1960 of 3,247 tracked listings.

Weekly downloads
1,557
Official API · Dec 5, 2026
7-day growth
+13.1%
+180 weekly downloads
30-day growth
-20.9%
-412 weekly downloads
90-day growth
+22.7%
+288 weekly downloads
Rank
#1960
▼ 62 in 7 days

About copy-modules-webpack-plugin

<!-- Copyright 2017-present Sonatype, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->

Copy Modules Plugin

Table Of Contents

Introduction

copy-modules-webpack-plugin is a Webpack plugin which copies all of the source files which go into the webpack bundle(s) to a separate directory. This enables external tools such as Sonatype Nexus Lifecycle to analyze only those source files which will be included in the final bundle.

N.B. Since version 2.0 the plugin is only compatible with webpack 4.0 and later. Use 1.x releases for webpack 3.

Installation

npm install --save-dev copy-modules-webpack-plugin

Usage

Instantiate the plugin with the desired configuration options and include it in the plugins array of your webpack configuration:

const CopyModulesPlugin = require("copy-modules-webpack-plugin");

module.exports = {
  ...
  plugins: [
    new CopyModulesPlugin({
      destination: 'webpack-modules'
    })
  ]
}
Configuration

copy-modules-webpack-plugin currently supports the following configuration options:

<dl> <dt>destination</dt> <dd> The destination directory where the modules will be copied. </dd> <dt>includePackageJsons</dt> <dd> <p> When using Webpack 4, set this to true to also copy the package.json file associated with each copied module file. This may be useful if you are analyzing the output with a tool that has need for additional metadata about each module (Default: false). </p> <p> Note: when using webpack 5, the package.json files are copied regardless of the value of this flag. </p> </dd> </dl>

The Fine Print

It is worth noting that this is NOT SUPPORTED by Sonatype, and is a contribution of ours to the open source community (read: you!)

Remember:

  • Use this contribution at the risk tolerance that you have
  • Do NOT file Sonatype support tickets related to Webpack support
  • DO file issues here on GitHub, so that the community can pitch in

Phew, that was easier than I thought. Last but not least of all:

Have fun creating and using this plugin, we are glad to have you here!

Getting help

Looking to contribute to our code but need some help? There's a few ways to get information:

Description from the npm listing.

  • webpack-plugin
  • sonatype
  • javascript

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

copy-modules-webpack-plugin weekly downloads on npm, last 90 days: 1,557 weekly downloads as of Dec 5, 2026, +22.7% over 90 days.copy-modules-webpack-pluginWeekly downloads on npm · Last 90 days1,557downloads / week+22.7% over 90 days05001K1.5K2K2.5KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
copy-modules-webpack-plugin weekly downloads on npm, last 90 days: 1,557 weekly downloads as of Dec 5, 2026, +22.7% over 90 days.

7/30/90-day growth

copy-modules-webpack-plugin weekly downloads growth on npm: +13.1% over 7 days, -20.9% over 30 days, +22.7% over 90 days.copy-modules-webpack-pluginWeekly downloads growth on npm1,557downloads / week now7-day growth+180 weekly downloads+13.1%30-day growth-412 weekly downloads-20.9%90-day growth+288 weekly downloads+22.7%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
copy-modules-webpack-plugin weekly downloads growth on npm: +13.1% over 7 days, -20.9% over 30 days, +22.7% over 90 days.

Ranking history

copy-modules-webpack-plugin npm ranking history: currently #1960 (by weekly downloads).copy-modules-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#1960current 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
copy-modules-webpack-plugin npm ranking history: currently #1960 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 98, #20 (overall #1,960)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 4, #4 (overall #64)
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 copy-modules-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
1,557-20
1,577+110
1,467+63
1,404+9
1,395+32
1,363-14
1,3770
1,377-19
1,396-190
1,586-120
1,706-146
1,852-86
1,938-105
2,043—

Similar npm Webpack plugins plugins

All 20 copy-modules-webpack-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/copy-modules-webpack-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.