Questions about backend.js and frontend folders in Twitch Extension

  1. Yes, you can use folders to organise files. Your HTML files need to be at the root of the zip but those HTML files can reference things inside a folder, just make sure you use relative paths and not absolute paths.

  2. You can’t load code from external sources. The only exceptions are Google Analytics and the Twitch Extension Helper itself. All other files (and this includes libraries such as jQuery) you have to include in your zip.

  3. Twitch only host the front end, the EBS is entirely up to you to host and ensure it meets Twitch’s guidelines (such as only communicating with the frontend over HTTPS or WSS).

1 Like