sass-bundle
sass-bundle copied to clipboard
The bundle should expose some compiler options (or have smart defaults for them)
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 bundlequietDeps(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.
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)
All the "static / boolean ones" have been implemented in #39