Open jayjo34 opened 10 months ago
Can do. Dyngoose currently does not work using esm modules, it does need to be used within a commonjs
. I do plan to change this to better support use with modern projects and those utilizing sst
and similar systems.
I actually have a branch with this but I need to ensure reliable backwards compatibility with comnmonjs
projects.
After a long time of failures using
<Table>.primaryKey
(keptundefined
) and almost getting crazy everything worked after changing compilerOptions to :"compilerOptions": { "module": "commonjs", "target": "es2019", ...
Please add this to the README.