Improvements for prod.

This commit is contained in:
Dennis Postma 2025-02-09 02:24:53 +01:00
parent 66759a87f2
commit 5349e2ffe5
3 changed files with 1 additions and 4 deletions

View File

@ -9,7 +9,7 @@ class Storage {
constructor() {
this.rootDir = process.cwd()
this.baseDir = config.ENV === 'development' ? 'src' : 'dist'
this.baseDir = config.ENV === 'development' ? 'src' : 'src'
}
/**

View File

@ -8,7 +8,6 @@ import serverConfig from '#application/config'
export default defineConfig({
extensions: [Migrator],
metadataProvider: TsMorphMetadataProvider,
entities: ['./dist/entities/*.js'],
entitiesTs: ['./src/entities/*.ts'],
driver: MySqlDriver,
host: serverConfig.DB_HOST,

View File

@ -20,8 +20,6 @@
"module": "NodeNext",
"baseUrl": "./src",
"rootDir": "./src",
"outDir": "./dist",
"sourceMap": true,
"paths": {
"#root/*": ["./*"],