Skip to main content
edited title
Link
TVBZ
  • 213
  • 2
  • 12

In what folder What directory should I placecontain GPL scripts from external source? Best practice?

Source Link
TVBZ
  • 213
  • 2
  • 12

In what folder should I place GPL scripts?

I am making a custom gallery module using Light Gallery. In most cases, I would just place all my JS files inside /assets/js directory. But I wonder if this is good practice when using an external GPLv3 resource?

Maybe a lib directory would be more appropriate? Personally I prefer to just keep it inside the assets directory. It's unclear to me which directory to use and why? Any insights on this? What is best practice?

PS: Module ships with both minified an unminified JS files, copyright notice remains intact offcourse.