This would allow configuring the application to automatically embed the stylesheets in production, but not in dev (remains false by default to keep current behaviour). Then you don't have to worry about it at the call site, but the option remains available on the macro if you really need it.
Btw, I'm curious to know how you are handling this in you current projects? Do you have an additional wrapper around ex_css_modules? Do you not embed the stylesheets in prod or always embed them in development?
This would allow configuring the application to automatically embed the stylesheets in production, but not in dev (remains false by default to keep current behaviour). Then you don't have to worry about it at the call site, but the option remains available on the macro if you really need it.
Btw, I'm curious to know how you are handling this in you current projects? Do you have an additional wrapper around ex_css_modules? Do you not embed the stylesheets in prod or always embed them in development?