Getting the filenames of the files copied from the public folder #17854
Unanswered
EricRovell
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using service worker for my project. For some time I did not need code-splitting and the web app was working offline without extra configuration, but now I need to tell the service worker about my assets for it to handle it in background while the network is available.
Regarding the JS and CSS chunks, I use
generateBundle
to get the filenames.But I have to do the same with files that are copied from
public
directory. Is there a way to add hash to static assets and to get their filenames?Beta Was this translation helpful? Give feedback.
All reactions