Skip to content

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

@stof

Description

@stof

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions