From 8011484469cd7255a68ef07300a90ab4b085ec12 Mon Sep 17 00:00:00 2001 From: NiloCK Date: Thu, 26 Dec 2024 11:18:24 -0400 Subject: [PATCH] use relative paths... required for the hacked build process of `express` app. express imports from `vue` via relative paths, but does not actually build the `vue` project. So child imports must also allow for relative pathfinding of deps. --- packages/vue/src/base-course/Interfaces/FieldDefinition.ts | 2 +- .../vue/src/components/Edit/ViewableDataInputForm/FieldInput.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vue/src/base-course/Interfaces/FieldDefinition.ts b/packages/vue/src/base-course/Interfaces/FieldDefinition.ts index f2bce56f..fa9549e0 100644 --- a/packages/vue/src/base-course/Interfaces/FieldDefinition.ts +++ b/packages/vue/src/base-course/Interfaces/FieldDefinition.ts @@ -1,7 +1,7 @@ import { Validator } from '../../base-course/Interfaces/Validator'; import { Tagger } from '../../base-course/Interfaces/Tagger'; import { FieldType } from '../../enums/FieldType'; -import { CourseElo } from '@/tutor/Elo'; +import { CourseElo } from '../../tutor/Elo'; export interface FieldDefinition { name: string; diff --git a/packages/vue/src/components/Edit/ViewableDataInputForm/FieldInput.ts b/packages/vue/src/components/Edit/ViewableDataInputForm/FieldInput.ts index adfaf78c..946d64fb 100644 --- a/packages/vue/src/components/Edit/ViewableDataInputForm/FieldInput.ts +++ b/packages/vue/src/components/Edit/ViewableDataInputForm/FieldInput.ts @@ -8,7 +8,7 @@ import { } from '../../../base-course/Interfaces/ValidatingFunction'; import { ValidationResult } from '../../../base-course/Interfaces/ValidationResult'; import { Status } from '../../../enums/Status'; -import { CourseElo } from '@/tutor/Elo'; +import { CourseElo } from '../../../tutor/Elo'; export interface ValidatedInput { getValidators: () => ValidatingFunction[];