Skip to content

Commit

Permalink
fix: parcel bundler import export destructuring
Browse files Browse the repository at this point in the history
For whatever reason, parcel doesn't like that we are importing from
"thunk" and exporting at the same time.
  • Loading branch information
neurosnap committed Jan 21, 2024
1 parent 98a9de7 commit 7fa2483
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions query/mod.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { createThunks } from "./thunk.ts";
export * from "./thunk.ts";
import { createThunks, type ThunksApi } from "./thunk.ts";
export * from "./api.ts";
export * from "./types.ts";
export * from "./create-key.ts";
import * as mdw from "./mdw.ts";

export { mdw };
export { createThunks, mdw, ThunksApi };

/**
* @deprecated Use {@link createThunks} instead;
Expand Down

0 comments on commit 7fa2483

Please sign in to comment.