Skip to content

Commit

Permalink
Merge pull request #1 from marcolink/fix/exports
Browse files Browse the repository at this point in the history
fix: exporting modules
  • Loading branch information
marcolink committed Feb 28, 2024
2 parents b113166 + be55892 commit 1053623
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 35 deletions.
64 changes: 32 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@types/react": "^17.0.75",
"@types/react-dom": "^17.0.25",
"@vitejs/plugin-react": "^4.2.1",
"auto": "^11.0.4",
"auto": "^11.0.5",
"boxen": "^7.1.1",
"dedent": "^1.5.1",
"npm-run-all": "^4.1.5",
Expand Down
File renamed without changes.
9 changes: 8 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
// make it work with --isolatedModules
export default {};
// export default {};

export {withLivePreview} from './withLivePreview'
export {withContentful} from './withContentful'
export {withEntryArgMutator} from './withEntryArgMutator'
export {ContentfulDebugComponent} from './components/ContentfulDebugComponent'
export * from './manager'
export * from './preview'
2 changes: 1 addition & 1 deletion src/stories/DebugComponent.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type {Meta} from '@storybook/react';
import {StoryObj} from "@storybook/react";
import {ContentfulDebugComponent} from "./ContentfulDebugComponent";
import {ContentfulDebugComponent} from "../components/ContentfulDebugComponent";
import {withEntryArgMutator} from "../withEntryArgMutator";

const meta = {
Expand Down

0 comments on commit 1053623

Please sign in to comment.