-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Some imported js have two versions : debug and minimized.
When our debug configuration is set we want to import the debug one.
It would be nice to be able to do something like
<file>..../js/myfile.js</file>
<file debug="all">..../js/myotherfile.js</file>
<file debug="no">..../js/tinymce.js</file>
<file debug="yes">..../js/tinymce-debug.js</file>
debug attributes could be :
- all (default) to be imported always
- no to be imported only when the general configuration is no debug mode
- yes to be imported only when the general configuration is in debug mode
It seems simple to me.
The only darkside is not to be able to say : for this file this is the debug version and the normal version
So we could do this
<file>..../js/myfile.js</file>
<file>..../js/myotherfile.js</file>
<file>
<normal>..../js/tinymce.js</file>
<debug>..../js/tinymce-debug.js</file>
</file>