Skip to content

Commit

Permalink
Handle CommonJS module
Browse files Browse the repository at this point in the history
  • Loading branch information
liamdiprose authored Feb 9, 2024
1 parent 5b087ca commit 03e5a5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/svelte-vega/src/lib/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { View, SignalListeners } from './types';
import { vega } from 'vega-embed';
import pkg from 'vega-embed';
const { vega } = pkg;
import equal from 'fast-deep-equal';
import type { VisualizationSpec, EmbedOptions } from 'vega-embed';

Expand Down

0 comments on commit 03e5a5c

Please sign in to comment.