Queries
parent
dfd820cc25
commit
7429a96e61
|
@ -41,7 +41,8 @@ async function bundle(
|
|||
filePath,
|
||||
jsFunctionName,
|
||||
debug,
|
||||
allModulesToExclude
|
||||
allModulesToExclude,
|
||||
true
|
||||
);
|
||||
delete def.path;
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue