Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stof opened this issue Nov 7, 2023 · 2 comments

Comments

@stof
Copy link

stof commented Nov 7, 2023

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 The bundle should let you register load paths for the Sass compiler #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.

@smnandre
Copy link
Contributor

Started to implement some there #39

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

@smnandre
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants