Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Compacing css and js to one file ?

More
7 years 3 months ago #4840 by marcin7
Compacing css and js to one file ? was created by marcin7
hello,

I have currently on my website multiple instances of LNEP. Each instance generated and include one css and one js file.
Is there is any change to have a feature that all css file be merged during generation just to one file ? The same of JS ?

thanks in advance
Martin

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #4841 by syw
Replied by syw on topic Compacing css and js to one file ?
Hello Martin,

this is not something that can be done at the module 'level'. Modules are independent from each other.
This compilation would require an additional plugin that 'intercepts' all CSS and JS files in order to compile them into one CSS and one JS file.
Such plugin already exists, you could use the excellent plugin JCH Optimize for instance for this task.

Olivier.
The following user(s) said Thank You: marcin7

Please Log in or Create an account to join the conversation.