1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Resolve an ES6 module export construct which is incompatible with node.js, as reported in [forum:b9680fa9ad|forum post b9680fa9ad].

FossilOrigin-Name: 80927c3913561dddf75cf73be871d93ae06b16f83e8cc36fc360765014209615
This commit is contained in:
stephan
2023-07-24 15:41:58 +00:00
parent 479cfd5af3
commit c76a8862a7
4 changed files with 12 additions and 11 deletions

View File

@@ -119,5 +119,6 @@ const toExportForESM =
return globalThis.sqlite3InitModule /* required for ESM */;
})();
//#if target=es6-module
export { toExportForESM as default, toExportForESM as sqlite3InitModule }
sqlite3InitModule = toExportForESM;
export default sqlite3InitModule;
//#endif