fix: tree-shaked `env.ts`

main
Avraham Sakal 1 year ago
parent dabfec86a1
commit c9dc6c8c3d

@ -2,6 +2,8 @@ import _ from './env.js';
import { createClient as createClickhouseClient } from '@clickhouse/client';
import type { DataFormat } from '@clickhouse/client';
// prevent from tree-shaking:
console.log(_);
export const clickhouse = createClickhouseClient({
host: process.env.CLICKHOUSE_HOST || "http://localhost:8123",
username:'avraham',

Loading…
Cancel
Save