i give up

This commit is contained in:
2024-12-08 16:49:53 +01:00
parent 6b44091522
commit c52c43fc3a
5 changed files with 10 additions and 27 deletions

View File

@@ -6,7 +6,6 @@ COPY package*.json ./
RUN npm install RUN npm install
# Copy the rest of the source code
COPY . . COPY . .
RUN npm run build-only RUN npm run build-only

View File

View File

@@ -2,20 +2,17 @@ import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue' import vue from '@vitejs/plugin-vue'
import vueDevTools from 'vite-plugin-vue-devtools'
// https://vitejs.dev/config/ // https://vite.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [
vue() vue(),
vueDevTools(),
], ],
resolve: { resolve: {
alias: { alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)) '@': fileURLToPath(new URL('./src', import.meta.url))
}, },
}, },
server: {
watch: {
usePolling: true,
},
},
}) })

6
package-lock.json generated Normal file
View File

@@ -0,0 +1,6 @@
{
"name": "osu-music",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}

View File

@@ -1,19 +0,0 @@
{
"extends": "@tsconfig/node22/tsconfig.json",
"include": [
"vite.config.*",
"vitest.config.*",
"cypress.config.*",
"nightwatch.conf.*",
"playwright.config.*"
, "../frontend/vite.config.ts" ],
"compilerOptions": {
"composite": true,
"noEmit": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"module": "ESNext",
"moduleResolution": "Bundler",
"types": ["node"]
}
}