mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-06-23 15:31:37 -04:00
chore: shorten frontend build time (#1772)
This commit is contained in:
parent
ee121a12f8
commit
c12ef60038
@ -6,7 +6,11 @@ export default {
|
|||||||
{ hid: "og:type", property: "og:type", content: "website" },
|
{ hid: "og:type", property: "og:type", content: "website" },
|
||||||
{ hid: "og:title", property: "og:title", content: "Mealie" },
|
{ hid: "og:title", property: "og:title", content: "Mealie" },
|
||||||
{ hid: "og:site_name", property: "og:site_name", content: "Mealie" },
|
{ hid: "og:site_name", property: "og:site_name", content: "Mealie" },
|
||||||
{ hid: "og:description", property: "og:description", content: "Mealie is a recipe management app for your kitchen." },
|
{
|
||||||
|
hid: "og:description",
|
||||||
|
property: "og:description",
|
||||||
|
content: "Mealie is a recipe management app for your kitchen.",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
hid: "og:image",
|
hid: "og:image",
|
||||||
property: "og:image",
|
property: "og:image",
|
||||||
@ -49,16 +53,25 @@ export default {
|
|||||||
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
|
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
|
||||||
buildModules: [
|
buildModules: [
|
||||||
// https://go.nuxtjs.dev/typescript
|
// https://go.nuxtjs.dev/typescript
|
||||||
|
[
|
||||||
"@nuxt/typescript-build",
|
"@nuxt/typescript-build",
|
||||||
// https://go.nuxtjs.dev/vuetify
|
// Fix slow builds
|
||||||
|
// https://github.com/nuxt/nuxt.js/issues/8310#issuecomment-734984360
|
||||||
|
{
|
||||||
|
typeCheck: {
|
||||||
|
typescript: {
|
||||||
|
enabled: true,
|
||||||
|
mode: "write-tsbuildinfo",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
// https://go.nuxtjs.dev/vuetify
|
// https://go.nuxtjs.dev/vuetify
|
||||||
"@nuxtjs/vuetify",
|
"@nuxtjs/vuetify",
|
||||||
// https://composition-api.nuxtjs.org/getting-started/setup
|
// https://composition-api.nuxtjs.org/getting-started/setup
|
||||||
"@nuxtjs/composition-api/module",
|
"@nuxtjs/composition-api/module",
|
||||||
// https://vite.nuxtjs.org/getting-started/installation
|
// https://vite.nuxtjs.org/getting-started/installation
|
||||||
"nuxt-vite",
|
"nuxt-vite",
|
||||||
// https://github.com/antfu/vue2-script-setup-transform
|
|
||||||
"vue2-script-setup-transform/nuxt",
|
|
||||||
// https://google-fonts.nuxtjs.org/setup
|
// https://google-fonts.nuxtjs.org/setup
|
||||||
"@nuxtjs/google-fonts",
|
"@nuxtjs/google-fonts",
|
||||||
],
|
],
|
||||||
@ -376,7 +389,7 @@ export default {
|
|||||||
// Build Configuration: https://go.nuxtjs.dev/config-build
|
// Build Configuration: https://go.nuxtjs.dev/config-build
|
||||||
build: {
|
build: {
|
||||||
// https://nuxtjs.org/docs/2.x/configuration-glossary/configuration-build
|
// https://nuxtjs.org/docs/2.x/configuration-glossary/configuration-build
|
||||||
analyze: process.env.NODE_ENV !== "production",
|
analyze: false,
|
||||||
babel: {
|
babel: {
|
||||||
plugins: [
|
plugins: [
|
||||||
["@babel/plugin-proposal-private-property-in-object", { loose: true }],
|
["@babel/plugin-proposal-private-property-in-object", { loose: true }],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user