Closed
Description
When css-loader calls postcss with an existing source map previously generated by postcss-loader, the resulting source map ends up with just the file name for sources without any paths. If there are then collisions of this file name with other same-named files in other directories, only one of these source maps ends up being retained.
This is particularly noticeable for the react-toolbox project which has about a dozen files all named theme.modules.css in different directories.
See https://github.com/alexhisen/mobx-forms-demo project for example config, etc. Note it's currently set up to use a fork with a workaround in #1053, so it doesn't exhibit the problem any more.
Metadata
Metadata
Assignees
Labels
No labels