Combine local JS.
’yui-compressor’ is no longer used.
This commit is contained in:
3
sw.js
3
sw.js
@@ -1,12 +1,13 @@
|
||||
---
|
||||
layout: compress
|
||||
|
||||
# Chirpy v2.2
|
||||
# https://github.com/cotes2020/jekyll-theme-chirpy
|
||||
# © 2020 Cotes Chung
|
||||
# MIT Licensed
|
||||
---
|
||||
|
||||
self.importScripts('{{ "/assets/data/cache-list.js" | relative_url }}');
|
||||
self.importScripts('{{ "/assets/js/data/cache-list.js" | relative_url }}');
|
||||
|
||||
var cacheName = 'chirpy-{{ "now" | date: "%Y%m%d.%H%M" }}';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user