React-boilerplate: What is sw.js ?

Created on 28 Sep 2016  路  4Comments  路  Source: react-boilerplate/react-boilerplate

When I performed 'npm run build', A new file named sw.js appeared in build folder, but how to use this file?

question

Most helpful comment

You don't use it directly: it's the ServiceWorker generated by the Webpack Offline plugin. It handles caching, offline-first features, etc.

All 4 comments

You don't use it directly: it's the ServiceWorker generated by the Webpack Offline plugin. It handles caching, offline-first features, etc.

Thanks! @oliverturner @avdeev

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joehua87 picture joehua87  路  3Comments

williamgranli picture williamgranli  路  3Comments

avdeev picture avdeev  路  3Comments

theterra picture theterra  路  3Comments

kunal-mandalia picture kunal-mandalia  路  4Comments