NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2496 most downloaded on npm
Copy files && directories with webpack
Last release 7 months ago
02 Mar 2026
Release timing varies
gaps range from 9 days to 1.6 years
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
83 releases · first in 2015
minimum supported Node.js version is 20.9.0
One column per quarter.
better handling globs for watching
The breaking change only affects the developer who used these options - gitignore and ignoreFiles in the globOptions option.
For more information please visit tinyglobby.
The breaking change only affects the developer who used these options - gitignore and ignoreFiles in the globOptions option.
Please migrate to the ignore option.
For more information please visit tinyglobby.
The breaking change only affects the developer who used these options - gitignore and ignoreFiles in the globOptions option.
Please migrate to the ignore option.
12.0.2 (2024-01-17) Bug Fixes improve perf
12.0.1 (2024-01-11) Bug Fixes improve perf
minimum supported Node.js version is 18.12.0
minimum supported Node.js version is 14.15.0
10.2.4 (2022-01-31) Bug Fixes types
10.2.3 (2022-01-29) Bug Fixes async to support
10.2.2 (2022-01-28) Bug Fixes types
### 10.2.1 (2022-01-20) ### Bug Fixes * types
removed cjs wrapper and generated types in commonjs format (export = and namespaces used in types), now you can directly use exported types
## 10.1.0 (2021-12-10) ### Features * added types
minimum supported Node.js version is 12.20.0
Node.js version is 12.20.0globby to 12.0.2 versionoutput helpful descriptions and links on errors
serialize-javascript### 9.0.1 (2021-06-25) ### Chore * update serialize-javascript
minimum supported Node.js version is 12.13.0
### 8.1.1 (2021-04-06) ### Bug Fixes * stage for processing assets
## 8.1.0 (2021-03-22) ### Features * added the transformAll option
logic for some placeholders was changed:
[hash] and [fullhash] works as in webpack (i.e. it is hash of build, not content hash of file), to migrate change [name].[hash].[ext] to [name].[contenthash][ext][ext] doesn't require . (dot) before, i.e. change [name].[ext] to [name][ext][<hashType>:contenthash:<digestType>:<length>] and [<hashType>:hash:<digestType>:<length>] is not supported anymore, you can use output.hashDigest, output.hashDigestLength and output.hashFunction options to setup it[N] was removed in favor of using the to option as a function[folder] was removed[emoji] was removedminimum supported webpack version is 5
5flatten option was removed in favor [name].[ext] value for the to option,transformPath option was removed in favor Function type of the to option, look at examplescacheTransform option was removed in favor Object type of the transform option, look at examplescompilation.hooks.processAssets hooknoErrorOnMissing optioncompatibility with webpack 4 file system
added type Function for the to option
### 6.3.2 (2020-11-19) ### Bug Fixes * watching directories
### 6.3.1 (2020-11-13) ### Bug Fixes * watching
added the sourceFilename info (original source filename) to assets info
### 6.2.1 (2020-10-09) ### Chore * update schema-utils
use webpack input filesystem (only webpack@5)
### 6.1.1 (2020-09-18) ### Chore * updated serialize-javascript
added the copied flag to asset info
filter option (#524) (1496f85)copied flag to asset info (09b1dc9)immutable flag to asset info with hash in name (#525) (a1989d5)copied files10.13 version of Node.js### 6.0.4 (2020-08-29) ### Bug Fixes * compatibility with webpack@5
do not execute on a child compiler
compatibility with 10.13 version of Node.js
escaping special characters in the context option
minimum supported Node.js version is 10.13,
10.13,new CopyPlugin(patterns, options) to new CopyPlugin({ patterns, options })compilation.additionalAssets hookignore option was removed in favor globOptions.ignoretest option was removed in favor the transformPath optioncache option was renamed to the cacheTransform option, cacheTransform option should have only directory and keys properties when it is an objectcontext and ignore options were removed in favor patten.context and pattern.globOptions.ignore optionsfrom option now can only be a string, if you use { from: { glob: 'directory/**', dot: false } } changed it to { from: 'directory/**', globOptions: { dot: false } }copyUnmodified was removed without replacements2 version of webpack-dev-server is not supported anymorelogLever was removed in favor the infrastructureLogging.level option, please read the documentationconcurrency option (#466) (c176d7d)directory option for the cacheTransform option (29254e3)noErrorOnMissing option (#475) (e3803ce)10.13,new CopyPlugin(patterns, options) to new CopyPlugin({ patterns, options })compilation.additionalAssets hookignore option (which accepted micromatch syntax) was removed in favor globOptions.ignore (which accepts fast-glob pattern-syntax)test option was removed in favor the transformPath optioncache option was renamed to the cacheTransform option, cacheTransform option should have only directory and keys properties when it is an objectcontext and ignore options were removed in favor patten.context and pattern.globOptions.ignore optionsfrom option now can only be a string, if you use { from: { glob: 'directory/**', dot: false } } changed it to { from: 'directory/**', globOptions: { dot: false } }copyUnmodified was removed without replacements2 version of webpack-dev-server is not supported anymorelogLevel was removed in favor the infrastructureLogging.level option, please read the documentationconcurrency option (#466) (c176d7d)directory option for the cacheTransform option (29254e3)noErrorOnMissing option (#475) (e3803ce)security: update serialize-javascript
### 5.1.1 (2019-12-12) ### Bug Fixes * allow to setup empty array
better to determine when glob is used
<a name="5.0.3"></a>
### 5.0.5 (2019-11-06) ### Performance Improvements * improvements for webpack@5
use posix separator for emitting assets
alone [N] interpolation in to option
add fallback to transform cache directory
respect base of glob for context dependencies
<a name="5.0.0"></a>
to and same context (#341) (e808aa2)[contenthash] as template (#328) (61dfe52)glob (#333) (49a28f0)/ and \\ (#339) (8f5e638)from is an empty string #278 (#285) (adf1046)debug option was renamed to logLevel, it only accepts string values: trace, debug, info, warn, error and silentprototype of plugin, now you can to get correct plugin name<a name="4.6.0"></a>
<a name="4.5.4"></a>
copy only modified files when you use patterns with difference to and same context
<a name="5.0.0"></a>
to and same context (#341) (e808aa2)[contenthash] as template (#328) (61dfe52)glob (#333) (49a28f0)/ and \\ (#339) (8f5e638)from is an empty string #278 (#285) (adf1046)debug option was renamed to logLevel, it only accepts string values: trace, debug, info, warn, error and silentprototype of plugin, now you can to get correct plugin namehandle undefined and null as stats value
processPattern: don't add 'glob' as directory when it is a file (contextDependencies)
processPattern: add glob directory context to contextDependencies
allow square brackets in path (#264) (3ef5b6c), closes #231
package: update cacache v10.0.1...10.0.4 (dependencies)
<a name="4.5.0"></a>
<a name="4.4.3"></a>
processPattern: add support for {RegExp) matches (pattern.test)
index: tapable deprecation warnings (webpack >= v4.0.0)
src/: don't escape non-glob patterns
replace pify with simpler promise helpers
preProcessPatterns: support glob context paths with special characters
## 2017-12-22 ### Bug Fixes * cache behaviour (#196) (6beb89e) * cache option behaviour
add option to cache pattern.transform (pattern.cache)
<a name="4.2.2"></a>
copying same file to multiple targets
add context option (options.context)
Update dependencies for NSP security advisory
Update dependencies for NSP security advisory (#151) (6d4346e)
<a name="4.1.0"></a>
<a name="4.0.1"></a>
Your coding agent can read these notes before it upgrades. Set up the MCP server →