Refatored vite.config to be a bit more streamlined before adding alternate build options. This did end up requiring me to remove @ from imports for some reason. Tests came out fine.

This commit is contained in:
Matthew Raymer
2025-01-05 08:38:15 +00:00
parent 09c3e3220c
commit be8ba12df6
68 changed files with 8854 additions and 8672 deletions

View File

@@ -5,7 +5,7 @@ import {
RouteLocationNormalized,
RouteRecordRaw,
} from "vue-router";
import { accountsDBPromise } from "@/db/index";
import { accountsDBPromise } from "../db/index";
/**
*
@@ -57,7 +57,7 @@ const routes: Array<RouteRecordRaw> = [
{
path: "/confirm-gift/:id?",
name: "confirm-gift",
component: () => import("@/views/ConfirmGiftView.vue"),
component: () => import("../views/ConfirmGiftView.vue"),
},
{
path: "/contact-amounts",
@@ -97,7 +97,7 @@ const routes: Array<RouteRecordRaw> = [
{
path: "/gifted-details",
name: "gifted-details",
component: () => import("@/views/GiftedDetailsView.vue"),
component: () => import("../views/GiftedDetailsView.vue"),
},
{
path: "/help",
@@ -147,7 +147,7 @@ const routes: Array<RouteRecordRaw> = [
{
path: "/invite-one-accept/:jwt?",
name: "InviteOneAcceptView",
component: () => import("@/views/InviteOneAcceptView.vue"),
component: () => import("../views/InviteOneAcceptView.vue"),
},
{
path: "/new-activity",
@@ -228,12 +228,12 @@ const routes: Array<RouteRecordRaw> = [
{
path: "/share-my-contact-info",
name: "share-my-contact-info",
component: () => import("@/views/ShareMyContactInfoView.vue"),
component: () => import("../views/ShareMyContactInfoView.vue"),
},
{
path: "/shared-photo",
name: "shared-photo",
component: () => import("@/views/SharedPhotoView.vue"),
component: () => import("../views/SharedPhotoView.vue"),
},
// /share-target is also an endpoint in the service worker