Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Commit

Permalink
Add a warning about editing the generated output (#184)
Browse files Browse the repository at this point in the history
* Add a warning about editing the generated output

* Review feedback
  • Loading branch information
jeffposnick authored Sep 21, 2016
1 parent b474714 commit f99b7a7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion service-worker.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,20 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
*/

// DO NOT EDIT THIS GENERATED OUTPUT DIRECTLY!
// This file should be overwritten as part of your build process.
// If you need to extend the behavior of the generated service worker, the best approach is to write
// additional code and include it using the importScripts option:
// https://github.com/GoogleChrome/sw-precache#importscripts-arraystring
//
// Alternatively, it's possible to make changes to the underlying template file and then use that as the
// new base for generating output, via the templateFilePath option:
// https://github.com/GoogleChrome/sw-precache#templatefilepath-string
//
// If you go that route, make sure that whenever you update your sw-precache dependency, you reconcile any
// changes made to this original template file with your modified copy.

// This generated service worker JavaScript will precache your site's resources.
// The code needs to be saved in a .js file at the top-level of your site, and registered
Expand Down

0 comments on commit f99b7a7

Please sign in to comment.