From 526f06edd5003f900456a545f47c97775bead6f5 Mon Sep 17 00:00:00 2001 From: Sean Lynch Date: Thu, 27 Jun 2024 10:51:07 -0400 Subject: [PATCH] Fix aliased import for utils/common.js --- .changeset/stupid-camels-wonder.md | 5 +++++ packages/layerchart/src/lib/components/Bar.svelte | 2 +- packages/layerchart/src/lib/components/Chart.svelte | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/stupid-camels-wonder.md diff --git a/.changeset/stupid-camels-wonder.md b/.changeset/stupid-camels-wonder.md new file mode 100644 index 000000000..8ccfd74b2 --- /dev/null +++ b/.changeset/stupid-camels-wonder.md @@ -0,0 +1,5 @@ +--- +'layerchart': patch +--- + +Fix aliased import for utils/common.js diff --git a/packages/layerchart/src/lib/components/Bar.svelte b/packages/layerchart/src/lib/components/Bar.svelte index e2d41f964..8c620fb09 100644 --- a/packages/layerchart/src/lib/components/Bar.svelte +++ b/packages/layerchart/src/lib/components/Bar.svelte @@ -6,7 +6,7 @@ import Spline from './Spline.svelte'; import { createDimensionGetter } from '$lib/utils/rect.js'; - import type { Accessor } from 'layerchart/utils/common.js'; + import type { Accessor } from '../utils/common.js'; const { x: xContext, y: yContext } = chartContext(); diff --git a/packages/layerchart/src/lib/components/Chart.svelte b/packages/layerchart/src/lib/components/Chart.svelte index dc241481f..8491f3f67 100644 --- a/packages/layerchart/src/lib/components/Chart.svelte +++ b/packages/layerchart/src/lib/components/Chart.svelte @@ -22,7 +22,7 @@