2020-11-15 11:27:44 +00:00
|
|
|
/* eslint-disable no-console */
|
|
|
|
|
2021-12-28 14:59:58 +00:00
|
|
|
import { registerSW } from "virtual:pwa-register";
|
2020-11-15 11:27:44 +00:00
|
|
|
|
2021-04-07 11:45:40 +00:00
|
|
|
if (process.env.NODE_ENV === "production") {
|
2021-12-28 14:59:58 +00:00
|
|
|
registerSW();
|
2020-11-15 11:27:44 +00:00
|
|
|
}
|