Support for NodeNext

Hello, DrizzleStudio and migrations dont work for me because i use "moduleResolution": "NodeNext" in my tsconfig.json. I use this because of monorepo and building packages with tsc. This module resolution requires importing ts files as
.js
.

The error it throws is this
Error: Cannot find module './schema.js'

This is how the the file looks

import { schema } from "./schema.js";

export const {
  conversionRates,
  kyselyMigrationLock,
  kyselyMigrations,
  productPageVisits,
  shopVisits,
  storeClickThroughs,
} = schema;
Was this page helpful?