Sometimes I must include additional JS files that depend on other (stock XF) JS files being included, for example I would like to include
So far I'me doing this by looping through
Does anybody know a more elegant / efficient way to accomplish...
Read more
Читать далее...
js/vendor/product/message.js
after xf/message.js
but only if message.js
is included.So far I'me doing this by looping through
getIncludedJs()
but it feels complicated as I have to check several possibilities (minimized vs. not mininized, production / rollup vs. dev).Does anybody know a more elegant / efficient way to accomplish...
Read more
Читать далее...