diff --git a/front/Dockerfile b/front/Dockerfile index d74b230bd..014a2650c 100644 --- a/front/Dockerfile +++ b/front/Dockerfile @@ -5,7 +5,7 @@ COPY package.json yarn.lock /app/ COPY src /app/src/ COPY scripts /app/scripts COPY public /app/public -COPY vite.config.js index.html embed.html /app/ +COPY vite.config.ts index.html embed.html /app/ RUN apk add --no-cache jq bash coreutils python3 build-base RUN yarn install diff --git a/front/src/composables/audio/usePlayOptions.ts b/front/src/composables/audio/usePlayOptions.ts index b41083612..1f926f7a0 100644 --- a/front/src/composables/audio/usePlayOptions.ts +++ b/front/src/composables/audio/usePlayOptions.ts @@ -8,6 +8,7 @@ import axios from 'axios' import usePlayer from '~/composables/audio/usePlayer' import useQueue from '~/composables/audio/useQueue' import { useCurrentElement } from '@vueuse/core' +import jQuery from 'jquery' export interface PlayOptionsProps { isPlayable?: boolean diff --git a/front/src/types.ts b/front/src/types.ts index 1ce8941f2..09f1c9e5a 100644 --- a/front/src/types.ts +++ b/front/src/types.ts @@ -9,13 +9,6 @@ import type { ComponentPublicInstance } from '@vue/runtime-core' export type FunctionRef = Element | ComponentPublicInstance | null -declare global { - interface Window { - $: JQueryStatic - jQuery: JQueryStatic - } -} - // App structure stuff export interface InitModuleContext { app: App