Skip to content

Commit

Permalink
fix: fix default export, bump version to 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cshaa committed Jul 31, 2024
1 parent 8a85bfc commit 9678e2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-plotly.js",
"version": "0.5.0",
"version": "0.5.1",
"author": {
"name": "Michal Grňo (m93a)",
"url": "https://github.com/m93a/"
Expand Down
1 change: 1 addition & 0 deletions src/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './Plot.svelte';
export { default } from './Plot.svelte';
4 changes: 2 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import Plot from '$lib/Plot.svelte';
import type { Data, FillParent, DebounceOptions, Config } from '$lib/Plot.svelte';
import Plot from '$lib/index.js';
import type { Data, FillParent, DebounceOptions, Config } from '$lib/index.js';
// FA icons borrowed for testing purposes only
const MAXIMIZE_ICON = {
Expand Down

0 comments on commit 9678e2a

Please sign in to comment.