aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/pre-js.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/pre-js.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/pre-js.js')
-rw-r--r--ext/wasm/api/pre-js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/api/pre-js.js b/ext/wasm/api/pre-js.js
index 41d13d685..2e2fe66bc 100644
--- a/ext/wasm/api/pre-js.js
+++ b/ext/wasm/api/pre-js.js
@@ -29,7 +29,7 @@ sqlite3InitModuleState.debugModule('self.location =',self.location);
4) If none of the above apply, (prefix+path) is returned.
*/
Module['locateFile'] = function(path, prefix) {
-//#if sqlite3-es6-module-build
+//#if target=es6-module
return new URL(path, import.meta.url).href;
//#else
'use strict';