You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the plugin to deal with multiple .scss files(partials)
The problem is that depending on whether the sourceMap setting is 'inline' or true, the result of the output file will be different.
My folder structure is simple like this:
📁src
📁 partials
_part1.scss
_part2.scss
_index.scss (File to forwards part1 and part2)
style.scss
If the setting is 'inline', it's no problem that the inlined sourcemap points to the right partial file.
But if I set it to true, the sourcemap file just points to style.scss, which for some reason appears to be compiled.
I am using the plugin to deal with multiple .scss files(partials)
The problem is that depending on whether the
sourceMap
setting is'inline'
ortrue
, the result of the output file will be different.My folder structure is simple like this:
If the setting is
'inline'
, it's no problem that the inlined sourcemap points to the right partial file.But if I set it to
true
, the sourcemap file just points to style.scss, which for some reason appears to be compiled.style.scss(just forwards partial files nothing else)
rollup.config.js
Output
I also do not need sourcesContent which makes my compiled css almost twice as big.
I'm not a Postcss expert, so I may be misguided.
The text was updated successfully, but these errors were encountered: