From e9be4c4e1ea74562273aad81068d0ed0f7b524bc Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Sun, 3 Mar 2024 09:43:12 -0500 Subject: [PATCH] test: check if console log shows up on the previw site --- src/compile/compile.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compile/compile.ts b/src/compile/compile.ts index 13e76dcaa8..1a05564c7f 100644 --- a/src/compile/compile.ts +++ b/src/compile/compile.ts @@ -70,6 +70,8 @@ export interface CompileOptions { * @returns An object containing the compiled Vega spec and normalized Vega-Lite spec. */ export function compile(inputSpec: TopLevelSpec, opt: CompileOptions = {}) { + console.log('Check if this is the preview site!', inputSpec); + // 0. Augment opt with default opts if (opt.logger) { // set the singleton logger to the provided logger