This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

graker
graker

Hi

I'm probably missing something but I can't figure out how to combine all of my JS in one single file. I managed to combine most of them with |theme filter like it is described in docs. But some of installed plugins use addJs() to add scripts needed for their components. And it puts those scripts into {% scripts %} tag and they are not combined there, not with each other, nor with my previously combined scripts.

So the question is is there a way to combine all of scripts from theme and plugins into one single file?

Thanks!

Troiscent
Troiscent

+1 to this, still looking for a solution to combine {% scripts %} and to add "defer" attribute to the script tag.

alexax

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.