Reduce plugins.js file

2 replies · opened May 28, 2019

EEnriqueMay 28, 2019

Hi

I wonder why you put all plugins' code toghether in the file plugins.js

Is there a way to extract each plugin code into its own js file so I can only refer the ones I'll use ?

I mean, to have each plugin's js file at footer so you can remove easily the ones you don't need to load from template

Thanks

SSemicolon WebSTAFFMay 29, 2019

Hello,

All the Plugins have been included in one file purely for Production Purposes. To use/enqueue each Plugin on its own, separate files have been provided in the js/plugins/ Folder. Additionally, you can consider using the JS Package Generator: http://support.semicolonweb.com/js-package-generator/ to choose the Plugins you require for your Page.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

EEnriqueMay 30, 2019

Excellent! Will use the Package Generator

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard