You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
483 B
17 lines
483 B
|
|
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",
|
|
},
|
|
},
|
|
});
|
|
|