Fix seed import: remove .js extension from competition-configs import
All checks were successful
Build and Push Docker Image / build (push) Successful in 7m3s

The .js extension caused ERR_MODULE_NOT_FOUND in Docker when tsx
tried to resolve the TypeScript source file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-15 23:42:31 +01:00
parent 0b4e56b287
commit ac970fc6a0

View File

@@ -18,7 +18,7 @@ import {
AdvancementRuleType,
} from '@prisma/client'
import bcrypt from 'bcryptjs'
import { defaultRoundConfig } from '../src/types/competition-configs.js'
import { defaultRoundConfig } from '../src/types/competition-configs'
import { readFileSync } from 'fs'
import { parse } from 'csv-parse/sync'
import { join, dirname } from 'path'