knockout-amd-helpers
knockout-amd-helpers copied to clipboard
[Request] Option to require additional files by convention
Would be nice to be able to configure additional requires by convention. So "module: 'MyModule'" could additionally require "css!styles/MyModule" or "less!styles/MyModule", here used with the require-css or require-less modules. That way styles for views can be loaded automatically without creating a dependency in the viewmodel.
At it simplest it could just be a hook every time template or module is used.
sounds like an interesting idea. need to think through and investigate how the life cycle of those modules would work.