You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
webpack build should just run fine, without an error message because of duplicate file names.
Actual Behavior
webpack build fails with error, the files are generated.
webpack-cli] Error: Prevent writing to file that only differs in casing or query string from already written file.
This will lead to a race-condition and corrupted files on case-insensitive file systems.
[...]/images/test-1.jpg
[...]/images/test-1.jpg
Addendum: Even when the name options results in non-colliding filenames, the Webpack file cache (when in use) has to be purged. So some cache-invalidation must be added to this loader for changes in output filename.
v14.15.4
7.5.4
5.x
2.2.0
Expected Behavior
webpack build should just run fine, without an error message because of duplicate file names.
Actual Behavior
webpack build fails with error, the files are generated.
Code
How Do We Reproduce?
Run the webpack build. Notice the error message.
The text was updated successfully, but these errors were encountered: