diff options
author | stephan <stephan@noemail.net> | 2022-11-19 05:26:45 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-11-19 05:26:45 +0000 |
commit | 27a67968af60dfa5e2146b618df149c0bcea4997 (patch) | |
tree | 087280243b5806d3048543521b66e20dfb5d8b05 /ext/wasm/api/pre-js.js | |
parent | c768ef7289c747b5f487319503d9150ef97bfc13 (diff) | |
download | sqlite-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/pre-js.js')
-rw-r--r-- | ext/wasm/api/pre-js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/api/pre-js.js b/ext/wasm/api/pre-js.js index c6d0683ff..41d13d685 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 SQLITE_JS_ESM +//#if sqlite3-es6-module-build return new URL(path, import.meta.url).href; //#else 'use strict'; |