Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix static folder destination on Windows
On Windows, a file in static/file.txt was put into dist/static/file.txt instead of dist/file.txt. This was because we cut off everything before the first "/" in the target path string, but Windows separates folders with "\". Instead, we can use the somewhat hidden context feature from the CopyPlugin to get rid of the static/ prefix. See https://webpack.js.org/plugins/copy-webpack-plugin/#from-is-a-glob
- Loading branch information