fix(typescript): load config written in TypeScript without the typescript package when using Bun, Deno or tsx
This commit is contained in:
parent
198aa545eb
commit
c838ffb7f3
9 changed files with 132 additions and 32 deletions
5
.changeset/breezy-sheep-yawn.md
Normal file
5
.changeset/breezy-sheep-yawn.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@emigrate/cli': minor
|
||||
---
|
||||
|
||||
Make it possible to write the Emigrate configuration file in TypeScript and load it using `tsx` in a NodeJS environment by importing packages provided using the `--import` CLI option before loading the configuration file. This makes it possible to run Emigrate in production with a configuration file written in TypeScript without having the `typescript` package installed.
|
||||
Loading…
Add table
Add a link
Reference in a new issue