pleeease
pleeease copied to clipboard
Option to get sourcemaps not inlined
As for now, if you want sourcemaps not inlined in CSS, you need to use:
{
"sourcemaps": {
"map": {
"inline": false
}
}
}
as the PostCSS specify it. I want to add an alias as string, but can't find a simple and unambiguous word. For example like:
"external"
"separate"
"outside"
"out"
We'll use it as:
{
"sourcemaps": "..."
}
or even:
{
"sourcemaps": {
"map": "..."
}
}
Any opinion someone ?
honestly, I like inline: false ^^ for an alias i would go for "reference or external" as you are referencing the external sourcemap ;)
You could also follow the Sass way by enabling sourcemap by default :smile:
I would treat the option in this way:
sourcemaps: noneto disable source mapssourcemaps: "../maps"to write external source map filessourcemaps: inlineto embed source maps in source files
I hope that it will help you. :cat2: