You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issue in merging java-script source files in a particular order #146
<jsSourceIncludes>
<jsSourceInclude>UIApp.js</jsSourceInclude>
<jsSourceInclude>UIApp.run.js</jsSourceInclude>
<jsSourceInclude>UI-i18n.config.js</jsSourceInclude>
<jsSourceInclude>UI-router-helper.provider.js</jsSourceInclude>
<jsSourceInclude>aa/nnn/r.js</jsSourceInclude>
<jsSourceInclude>aa/nnn/a.js</jsSourceInclude>
<jsSourceIncludes>
We need it should merge what order we mention in the <jsSourceInclude> but it always short by fileName
The fact that this plugin merges files in the order of file-name makes it completely unusable in modern web environment. If JS file A needs to access JS library B, it won't work, cause B comes after A.
This plugin absolutely needs a way to define the order of files.
I think that order JS files by file name suppose a big problem when merge them. The plugin should keep the original order to make it usable as @kannan08 said. Is this possible?
Activity
twothe commentedon Jan 17, 2018
The fact that this plugin merges files in the order of file-name makes it completely unusable in modern web environment. If JS file A needs to access JS library B, it won't work, cause B comes after A.
This plugin absolutely needs a way to define the order of files.
scarballo commentedon Jun 19, 2018
I think that order JS files by file name suppose a big problem when merge them. The plugin should keep the original order to make it usable as @kannan08 said. Is this possible?
blutorange commentedon Oct 13, 2018
You should be able to use
instead of
jsSourceInclude. This should preserve the order.