aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-opfs.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-11-20 01:15:22 +0000
committerstephan <stephan@noemail.net>2022-11-20 01:15:22 +0000
commit0a94ef8b52fac73d7c200adc876eb38a88664b4e (patch)
tree5b7c94d2a95c07640c7f3b23cfff8007a396f94f /ext/wasm/api/sqlite3-api-opfs.js
parentecba10730d032485d1067a819c7a3cc966db3d9e (diff)
downloadsqlite-0a94ef8b52fac73d7c200adc876eb38a88664b4e.tar.gz
sqlite-0a94ef8b52fac73d7c200adc876eb38a88664b4e.zip
Minor cleanups in the ESM-related preprocessor filtering.
FossilOrigin-Name: 205884a273128bb666b496b659b4fa9f031ebdbbc1aa704fdeb4b7e015740098
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 31fe45eda..a3f73cc7b 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 sqlite3-es6-module-build
+//#if target=es6-module
new Worker(new URL(options.proxyUri, import.meta.url));
//#else
new Worker(options.proxyUri);