-
-
Notifications
You must be signed in to change notification settings - Fork 609
Description
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
The Webpack's stats doesn't seem to contain any data related to @import
What is the expected behavior?
When reading a file from @import
, ensure that the imported file path and the path of the file contains @import
are written to Webpack's stats (https://webpack.js.org/api/stats/).
I'm still new to Webpack, so I might not understand some stuffs correctly. But I'm quite certain that the css file path isn't in Webpack's stats.
If this is a feature request, what is motivation or use case for changing the behavior?
We would like css-loader to output the file it reads to Webpack's stats. We use this data to track changes in files and their dependencies, so that we can hot-reload code correctly.