Skip to content

Option to disable and enable minification without env variables #55

@bediu

Description

@bediu

Right now to enable or disable this plugin, the only options are with JEKYLL_ENV set to production/development or with a hack

jekyll-minifier:
  exclude: '**.*'

^ which only works if the JEKYLL_ENV variable is set to production

The thing is that a lot of us don't necessarily make use of env variables to work with jekyll, we would rather a minify: true/false option in _config.yml that does not require the JEKYLL_ENV variable set.

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