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
I was trying the grouping feature today to save multiple calls (Very good stuff btw 馃憤)
And found there are 2 issues with this:
Your system simply concatenates the main files without any knowledge of the type of file it is (CSS/JS). So if you load this link for example normalize,jquery you can see, it loaded CSS and JS both in one which won't obviously work (How is the browser supposed to understand and execute?). I do understand that's not how we're supposed to use the grouping feature and as per the README, it is only for JS but even though it is for JS, how can i access other JS files within a project while grouping (other than main file)? And it would be good if it can support CSS as well.
Some libraries have CSS files with JS file as their mainfile and vice-versa. So if you want to group a lib's CSS file with other CSS files, it isn't working the way it is supposed to work (assuming it should have supported CSS as some projects mainfile is CSS) and instead it loads the mainfile (In this case it loads JS file) which i have already explained above. Here's the link which I'm trying to load in which i just want to group second project's CSS file along with the first one, but it simply loads the main JS file, hence it fails.
So it would be good to have some sort of option to select single file of a project to group with other files and support for CSS too.
Thanks!
The text was updated successfully, but these errors were encountered:
There is no way to load css and js in one call. Simply impossible. What you can do is to create 2 different URL groups. One for js and one for css files.
I didn't mean i want to load css and js in one call, what i meant is it is currently loading which it is not supposed to do (See link above, it loaded both css and js which is wrong).
This is exactly what i wanted and I'm already testing it, thanks!
Hello,
I was trying the grouping feature today to save multiple calls (Very good stuff btw 馃憤)
And found there are 2 issues with this:
mainfile
and vice-versa. So if you want to group a lib's CSS file with other CSS files, it isn't working the way it is supposed to work (assuming it should have supported CSS as some projects mainfile is CSS) and instead it loads themainfile
(In this case it loads JS file) which i have already explained above. Here's the link which I'm trying to load in which i just want to group second project's CSS file along with the first one, but it simply loads the main JS file, hence it fails.So it would be good to have some sort of option to select single file of a project to group with other files and support for CSS too.
Thanks!
The text was updated successfully, but these errors were encountered: