Refactoring CSS and JavaScript? declaration
At the moment the current situation is that all the CSS and JavaScript? declarations are almost done in 2 files: default.css and functions.js in CPSDefault
while every CPS Products should be able to declare one or more css and javascript files.
So we should set up a framework that will take in charge the subscription of products' CSS and JS files and their rendering.
From those multiple CSS and JS files this framework will generate only one unique CSS file and one unique JS file.
This framework should keep a common stylesheet_properties.props for the sake of factorization.
Rationale:
- each product will have its own CSS and JS files defined in itself and not in CPSDefault.
- the generated unique CSS file and JS file will be smaller than the current files than currently include unused products' styles.