Skip to content

Commit cd0e9f5

Browse files
docs: clarify plugin description (#395)
1 parent f848140 commit cd0e9f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# copy-webpack-plugin
1717

18-
Copies individual files or entire directories to the build directory.
18+
Copies individual files or entire directories, which already exist, to the build directory.
1919

2020
## Getting Started
2121

@@ -42,6 +42,8 @@ module.exports = {
4242
};
4343
```
4444

45+
> ℹ️ `webpack-copy-plugin` is not designed to copy files generated from the build process; rather, it is to copy files that already exist in the source tree, as part of the build process.
46+
4547
> ℹ️ If you want `webpack-dev-server` to write files to the output directory during development, you can force it with the [`writeToDisk`](https://github.com/webpack/webpack-dev-middleware#writetodisk) option or the [`write-file-webpack-plugin`](https://github.com/gajus/write-file-webpack-plugin).
4648
4749
## Options

0 commit comments

Comments
 (0)