- Update typespecs for the
class/3helper to allow for a list of class names (in addition to a single class name).
- The task
:build_stylesheet_definitions_json_taskwould run when a stylesheet definitions JSON file was not found. Now it will also run if the JSON file is empty (/DefactoSoftware/ex_css_modules/pull/#113). - Compilation errors now have a more detailed explanation when the JSON file is not found or empty (/DefactoSoftware/ex_css_modules/pull/#113).
:build_stylesheet_definitions_json_taskconfig option to run a task for building missing stylesheet definitions JSON file when using:embed_stylsheet(/DefactoSoftware/ex_css_modules/pull/#112).
:embed_by_defaultconfig option to embed stylesheets by default (/DefactoSoftware/ex_css_modules/pull/#67). Thanks @Blond11516!:json_libraryconfig option to specify the JSON library (/DefactoSoftware/ex_css_modules/pull/#75). Thanks @Blond11516!
- Add possibility to call
class/3,class_name/3andclass_selector/2with an atom as second argument (/DefactoSoftware/ex_css_modules/pull/#22). - Add typespecs to functions in ExCSSModules module (/DefactoSoftware/ex_css_modules/pull/#22).
- Add
class/2for conditional checking (/DefactoSoftware/ex_css_modules/pull/#10).
- The embed option is now evaluated to allow
Mix.env == :prodand other code that needs to be evaluated (/DefactoSoftware/ex_css_modules/pull/#7).
- CSS modules are now longer compiled into the code by default. You now have to
pass
embed_stylesheet: trueto the__using__macro to compile the CSS modules in the view.
- Changes the Mixfile module definition from erroneous ExCell to ExCSSModules
- Initial setup