const TIME_SAFARI_APP_TITLE = import.meta.env.TIME_SAFARI_APP_TITLE || require("./package.json").name; module.exports = defineConfig({ pwa: { name: TIME_SAFARI_APP_TITLE, iconPaths: { faviconSVG: "img/icons/safari-pinned-tab.svg", }, workboxPluginMode: "InjectManifest", workboxOptions: { // this script will be checked for linting (sw_scripts/* files generate about 1000 linting errors) swSrc: "./sw_scripts-combined.js", }, }, });