-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect paths in compilation.fileDependencies #11971
Comments
For maintainers only:
|
|
Answer above |
I'm not sure, I understand you. Okay. Let's see another example. I created a new branch at the example repo (link), where I added Now at the build a get follow logs:
When I use
and It seems good, because these paths are not real dependencies. |
@MikeDevice what is the problem? It is feature, right now webpack can follow for symlinks |
The problem is license-checker-webpack-plugin doesn't work sometimes with |
Yes, please open an issue in |
* Minifier WA can be now dropped since the pulled cssnano version includes the fix * Adjust to new copy-webpack-plugin API. * Adjust included node modules plugin needs to webpack 5 API * Update html-webpack-plugin to remove deprecation warnings Previously we would get: BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation. See jantimon/html-webpack-plugin#1501 * Use lite cssnano preset because the default version makes problematic assumptions Note: webpack's compilation.fileDependencies has changed and the webpack-make needs to be adjusted accordingly: webpack/webpack#11971
* Minifier WA can be now dropped since the pulled cssnano version includes the fix * Adjust to new copy-webpack-plugin API. * Adjust included node modules plugin needs to webpack 5 API * Update html-webpack-plugin to remove deprecation warnings Previously we would get: BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation. See jantimon/html-webpack-plugin#1501 * Use lite cssnano preset because the default version makes problematic assumptions Note: webpack's compilation.fileDependencies has changed and the webpack-make needs to be adjusted accordingly: webpack/webpack#11971
Bug report
What is the current behavior?
The
compilation.fileDependencies
(at a webpack plugin) contains incorrect paths, such as/
,/home
, etc. There is no such problem withwebpack@4
.If the current behavior is a bug, please provide the steps to reproduce.
webpack
andwebpack-cli
:webpack.config.js
with the follow content:Here is a repo that reproduces this issue: https://github.com/MikeDevice/webpack-file-dependencies-issue.
What is the expected behavior?
The expected behavior is what
webpack@4
has:Other relevant information:
webpack version: 5.4.0
Node.js version: 12.14.0
Operating System: Ubuntu 18.04.5 LTS
Additional tools: webpack-cli: 4.2.0
The text was updated successfully, but these errors were encountered: