mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-05-31 12:15:42 -04:00
remove service work from webpack
This commit is contained in:
parent
388206f58f
commit
f2c8e6af26
@ -8,7 +8,7 @@ import { globals } from "@/utils/globals";
|
|||||||
import i18n from "./i18n";
|
import i18n from "./i18n";
|
||||||
import "@mdi/font/css/materialdesignicons.css";
|
import "@mdi/font/css/materialdesignicons.css";
|
||||||
import "typeface-roboto/index.css";
|
import "typeface-roboto/index.css";
|
||||||
import "./registerServiceWorker";
|
// import "./registerServiceWorker";
|
||||||
|
|
||||||
Vue.config.productionTip = false;
|
Vue.config.productionTip = false;
|
||||||
Vue.use(VueRouter);
|
Vue.use(VueRouter);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
const path = require("path");
|
const path = require("path");
|
||||||
const manifestJSON = require("./public/manifest.json");
|
// const manifestJSON = require("./public/manifest.json");
|
||||||
module.exports = {
|
module.exports = {
|
||||||
transpileDependencies: ["vuetify"],
|
transpileDependencies: ["vuetify"],
|
||||||
publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
|
publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
|
||||||
@ -27,18 +27,18 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
pwa: {
|
// pwa: {
|
||||||
name: manifestJSON.short_name,
|
// name: manifestJSON.short_name,
|
||||||
themeColor: manifestJSON.theme_color,
|
// themeColor: manifestJSON.theme_color,
|
||||||
msTileColor: manifestJSON.background_color,
|
// msTileColor: manifestJSON.background_color,
|
||||||
appleMobileWebAppCapable: "yes",
|
// appleMobileWebAppCapable: "yes",
|
||||||
appleMobileWebAppStatusBarStyle: "black",
|
// appleMobileWebAppStatusBarStyle: "black",
|
||||||
manifestCrossorigin: "use-credentials",
|
// manifestCrossorigin: "use-credentials",
|
||||||
|
|
||||||
workboxPluginMode: "InjectManifest",
|
// workboxPluginMode: "InjectManifest",
|
||||||
workboxOptions: {
|
// workboxOptions: {
|
||||||
swSrc: "./src/sw.js",
|
// swSrc: "./src/sw.js",
|
||||||
swDest: "service-worker.js",
|
// swDest: "service-worker.js",
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user