Skip to content

Ability to unset settings when overriding build settings in shadow-cljs.edn #1272

Description

@alexmalcoci

If :build-defaults sets an option, it would be great to be able to unset or remove said option in some builds. The configs are overridden using deep-merge which is additive. I know we could pass that value to the build directly instead of having it in the defaults (whitelisting instead of blacklisting), but if the value is a big map (ex :js-options) and because EDN doesn't have variables or refs, it would be a lot of code duplication. Alternatively, it would be great if you could have the option to have a shadow-cljs.clj instead of the edn that would produce the final config map (kind of like webpack.json vs webpack.js).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions