1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Minor cleanups in the ESM-related preprocessor filtering.

FossilOrigin-Name: 205884a273128bb666b496b659b4fa9f031ebdbbc1aa704fdeb4b7e015740098
This commit is contained in:
stephan
2022-11-20 01:15:22 +00:00
parent ecba10730d
commit 0a94ef8b52
8 changed files with 47 additions and 45 deletions

View File

@ -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';