Open
Description
To reproduce:
npx create-choo-app choo-app
npm run build
cat dist/sw.js
Expected output:
!function(){var e=["f496337daa245e10/bundle.js","caa723c7a1b764f2/bundle.css","assets/icon.png","manifest.json", "index.html", "/"]; //…
Actual output:
!function(){var e=["f496337daa245e10/bundle.js","caa723c7a1b764f2/bundle.css","assets/icon.png","manifest.json"];
Workaround:
In sw.js, add:
var URLS = process.env.FILE_LIST.concat(['index.html', '/']) // cache the index also
Metadata
Metadata
Assignees
Labels
No labels