aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-opfs.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-11-19 05:26:45 +0000
committerstephan <stephan@noemail.net>2022-11-19 05:26:45 +0000
commit27a67968af60dfa5e2146b618df149c0bcea4997 (patch)
tree087280243b5806d3048543521b66e20dfb5d8b05 /ext/wasm/api/sqlite3-api-opfs.js
parentc768ef7289c747b5f487319503d9150ef97bfc13 (diff)
downloadsqlite-27a67968af60dfa5e2146b618df149c0bcea4997.tar.gz
sqlite-27a67968af60dfa5e2146b618df149c0bcea4997.zip
Add build of sqlite3.mjs (ES6 module), add a test app for it, and include it in the dist build.
FossilOrigin-Name: 2e783670e10b59e67c14b0db7f4803b41790cc7730de221d54fa2d4483cfba33
Diffstat (limited to 'ext/wasm/api/sqlite3-api-opfs.js')
-rw-r--r--ext/wasm/api/sqlite3-api-opfs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-api-opfs.js b/ext/wasm/api/sqlite3-api-opfs.js
index e35eed64d..31fe45eda 100644
--- a/ext/wasm/api/sqlite3-api-opfs.js
+++ b/ext/wasm/api/sqlite3-api-opfs.js
@@ -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);