Skip to content

Commit

Permalink
test: check if console log shows up on the previw site
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrosquall committed Mar 3, 2024
1 parent d058bec commit e9be4c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/compile/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9be4c4

Please sign in to comment.