We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
It looks like this environment variable is defined here:
https://github.com/choojs/bankai/blob/41a32b3361d5ad926a74bf63fb5345606091a4fd/lib/graph-service-worker.js#L121-L133
Sorry, something went wrong.
Do you think we could get away with tacking ‘index.html’ and ‘/‘ onto the array there or is there a cleaner way to do this?
No branches or pull requests
To reproduce:
npx create-choo-app choo-app
npm run build
cat dist/sw.js
Expected output:
Actual output:
Workaround:
In sw.js, add:
The text was updated successfully, but these errors were encountered: