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

hieubq90 picture hieubq90  路  3Comments

chaintng picture chaintng  路  4Comments

zamrq picture zamrq  路  3Comments

zamrq picture zamrq  路  3Comments

smiile picture smiile  路  3Comments