sass-bundle icon indicating copy to clipboard operation
sass-bundle copied to clipboard

The bundle should expose some compiler options (or have smart defaults for them)

Open stof opened this issue 2 years ago • 2 comments

Here are the options that make sense to expose:

  • style (in prod, you should compile the Sass files in compressed style to have a smaller CSS file). This could be a smart default in the bundle
  • quietDeps (this depends on #28 to be useful)
  • embedSources: whether the generated source map should embed the sources of the original Sass files, to allow the browser dev tools to display it without being able to fetch it from the server (should probably be a smart default to turn it on in dev mode)

Maybe --fatal-deprecation and --future-deprecation could also be exposed to have feature parity.

stof avatar Nov 07 '23 11:11 stof

Started to implement some there https://github.com/SymfonyCasts/sass-bundle/pull/39

(not a definitve organisation at all, wanted to try things a bit)

smnandre avatar Nov 23 '23 21:11 smnandre

All the "static / boolean ones" have been implemented in #39

smnandre avatar Dec 20 '23 23:12 smnandre