1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Add build of sqlite3.mjs (ES6 module), add a test app for it, and include it in the dist build.

FossilOrigin-Name: 2e783670e10b59e67c14b0db7f4803b41790cc7730de221d54fa2d4483cfba33
This commit is contained in:
stephan
2022-11-19 05:26:45 +00:00
parent c768ef7289
commit 27a67968af
12 changed files with 213 additions and 124 deletions

View File

@ -167,7 +167,7 @@ const installOpfsVfs = function callee(options){
return promiseReject_(err);
};
const W =
//#if SQLITE_JS_ESM
//#if sqlite3-es6-module-build
new Worker(new URL(options.proxyUri, import.meta.url));
//#else
new Worker(options.proxyUri);