vite-plugin-node
vite-plugin-node copied to clipboard
How to handle the migration folder with vite config
I'm very interested in the repo. How do you handle the migration for the dB with vite ?
I use the kysely FileMigrationProvider which only require the path folder.
In dev mode, path.resolve() resolves on typescript files and cannot be properly handled by the migrator.
In the dist folder, the migration folder is not included because there is no direct import.