-
@nhoizey @hankchizljaw @philhawksworth @davatron5000 @chriscoyier I use environment variables to enable minification for production builds only, see 11ty.dev/docs/data-js/#example-exposing-environment-variables My code is a little different, I just have an
if
statement in the config file: github.com/11ty/11ty-website/blob/master/.eleventy.js#L320