yamatatsu / vitest-dynamodb-lite

vitest-dynamodb-lite
https://www.npmjs.com/package/vitest-dynamodb-lite
3 stars 2 forks source link

allow JSON and mjs config files #2

Closed zoellner closed 4 months ago

zoellner commented 4 months ago

I was running into issues with both CJS and JS config files in a repo that is not fully switched to ESM. This change allows .mjs as well as .json config files. .mjs is handled like the others, .json is not evaluated but parsed with JSON.parse