Skip to content

Commit

Permalink
feat: storybook 8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensacks committed Mar 5, 2024
1 parent f1719f8 commit 2ee9ca4
Show file tree
Hide file tree
Showing 9 changed files with 4,135 additions and 4,305 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ build-storybook.log
.DS_Store
.env
.idea
.yarn
.npmrc
4 changes: 2 additions & 2 deletions .storybook/local-preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
* to load the built addon in this test Storybook
*/
function previewAnnotations(entry = []) {
return [...entry, require.resolve("../dist/preview.mjs")];
return [...entry, require.resolve('../dist/preview.js')];
}

function managerEntries(entry = []) {
return [...entry, require.resolve("../dist/manager.mjs")];
return [...entry, require.resolve('../dist/manager.js')];
}

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion manager.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './dist/manager';
import './dist/manager';
Loading

0 comments on commit 2ee9ca4

Please sign in to comment.