jakelazaroff / radish

A delightful React-based static site generator that outputs plain HTML & CSS.
https://radishjs.com
95 stars 1 forks source link

Don't copy service worker if the service worker is disabled #7

Open 20kdc opened 2 weeks ago

20kdc commented 2 weeks ago

This is done for two reasons:

  1. There's no license file/comment! It is therefore not possible to properly comply with the stated MIT license. For most of the output, this isn't a problem (Radish's boilerplate is the generic HTML boilerplate), but for the service worker, it's a problem.
  2. Uploading the service worker is not necessary in a configuration where it will never be invoked.