Like Phoenix does. New Phoenix projects use Jason by default and I think it would be nice to have the option to use it with ex_css_modules too.
Also, I'm not sure this is actually a good idea from a maintenance perspective, but it could even feed directly from the configured Phoenix library (either through Application.get_env or Phoenix.json_library).
Like Phoenix does. New Phoenix projects use Jason by default and I think it would be nice to have the option to use it with ex_css_modules too.
Also, I'm not sure this is actually a good idea from a maintenance perspective, but it could even feed directly from the configured Phoenix library (either through
Application.get_env
orPhoenix.json_library
).