Trent Larson
8 months ago
9 changed files with 1936 additions and 367 deletions
@ -1,7 +1,3 @@ |
|||
|
|||
# I tried setting values here and using `vue-cli-service build --mode development` |
|||
# but it didn't create some things in "dist": |
|||
# - the "css" directory with the CSS extracted from Vue files |
|||
# - the sw_scripts-combined* files |
|||
# |
|||
# ¯\_(ツ)_/¯ |
|||
# I tried and failed to set things here with vue-cli-service but |
|||
# things may be more reliable with vite so let's try again. |
|||
|
File diff suppressed because it is too large
@ -1,17 +0,0 @@ |
|||
|
|||
const TIME_SAFARI_APP_TITLE = |
|||
import.meta.env.VITE_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", |
|||
}, |
|||
}, |
|||
}); |
Loading…
Reference in new issue