pull/3/head
Zef Hemel 2022-05-20 11:29:14 +02:00
parent dfd820cc25
commit 7429a96e61
4 changed files with 4 additions and 4 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -41,7 +41,8 @@ async function bundle(
filePath,
jsFunctionName,
debug,
allModulesToExclude
allModulesToExclude,
true
);
delete def.path;
}

View File

@ -45,7 +45,7 @@ export async function compile(
if (meta) {
let text = await esbuild.analyzeMetafile(result.metafile);
// console.log("Bundle info for", functionName, text);
console.log("Bundle info for", functionName, text);
}
let jsCode = (await readFile(outFile)).toString();

View File

@ -16,12 +16,11 @@ import { replaceTemplateVars } from "../core/template";
import { jsonToMDTable, queryRegex, removeQueries } from "./util";
import { dispatch } from "@plugos/plugos-syscall/event";
import { replaceAsync } from "../lib/util";
import { parseMarkdown } from "@silverbulletmd/plugos-silverbullet-syscall/markdown";
export async function updateMaterializedQueriesCommand() {
const currentPage = await getCurrentPage();
await save();
await flashNotification("Updating materialized queries...");
// await flashNotification("Updating materialized queries...");
if (
await invokeFunction(
"server",