optimize-css-assets-webpack-plugin delegates to the CSS processor (cssnano as default). We have loaders for the styles file and they got compiled and minified by cssnano (with PostCSS). cssnano will remove the soucemaps.
Since optimize happens first and css split comes into after, at that time the sourcemap would be undefined.
optimize-css-assets-webpack-plugin
delegates to the CSS processor (cssnano as default). We have loaders for the styles file and they got compiled and minified by cssnano (with PostCSS). cssnano will remove the soucemaps.Since optimize happens first and css split comes into after, at that time the sourcemap would be undefined.