Skip to content

Commit

Permalink
adding a second package.json (lol) in the storybook config directory …
Browse files Browse the repository at this point in the history
…so it can use cjs while we use esm

idea from storybookjs/storybook#11587 (comment)
  • Loading branch information
danielgamage committed May 16, 2022
1 parent 263bc4b commit 9c6ea95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .storybook/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "commonjs"
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@oakstudios/mechanical-ragger",
"version": "0.5",
"description": "A layout tool that automatically rags long text by line",
"type": "module",
"main": "./index.js",
"types": "./index.d.ts",
"exports": {
Expand Down

0 comments on commit 9c6ea95

Please sign in to comment.