We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccb5e38 commit 3381e64Copy full SHA for 3381e64
src/client/stdlib/sqlite.js
@@ -2,8 +2,4 @@
2
const exports = {};
3
const response = await fetch("https://cdn.jsdelivr.net/npm/sql.js/dist/sql-wasm.js");
4
new Function("exports", await response.text())(exports);
5
-export default await exports.Module({
6
- locateFile(name) {
7
- return `https://cdn.jsdelivr.net/npm/sql.js/dist/${name}`;
8
- }
9
-});
+export default await exports.Module({locateFile: (name) => `https://cdn.jsdelivr.net/npm/sql.js/dist/${name}`});
0 commit comments