mirror of
https://github.com/h-sphere/sql-seal.git
synced 2026-07-22 10:10:28 +00:00
chore: Disabling console logs on production builds
This commit is contained in:
parent
bf24096d75
commit
2a50698cb7
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ import { apiModule } from '../api/module'
|
|||
import { globalTables } from '../globalTables/module'
|
||||
import { explorer } from '../explorer/module'
|
||||
|
||||
const obsidian = new Registrator({ logger: console.log })
|
||||
const obsidian = new Registrator(process.env.NODE_ENV === 'development' ? { logger: console.log } : undefined)
|
||||
.import<'app', App>()
|
||||
.import<'plugin', Plugin>()
|
||||
.import<'vault', Vault>()
|
||||
|
|
|
|||
Loading…
Reference in a new issue