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

arthurCormack picture arthurCormack  路  3Comments

schnubor picture schnubor  路  3Comments

hieubq90 picture hieubq90  路  3Comments

VadimuZz picture VadimuZz  路  4Comments

loicginoux picture loicginoux  路  4Comments