Skip to content

Commit

Permalink
build: switch to modern ES modules for Storybook React
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Nov 26, 2024
1 parent 3ced08d commit 67ed0e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
16 changes: 0 additions & 16 deletions packages/storybook-react/babel.config.mjs

This file was deleted.

1 change: 1 addition & 0 deletions packages/storybook-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"keywords": [
"nl-design-system"
],
"type": "module",
"private": true,
"repository": {
"type": "git+ssh",
Expand Down
4 changes: 3 additions & 1 deletion packages/storybook-react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"resolveJsonModule": true
"skipLibCheck": true,
"moduleResolution": "nodenext",
"module": "NodeNext"
},
"extends": "../../tsconfig.json",
"include": ["config/**/*.ts", "config/**/*.tsx", "src/**/*.ts", "src/**/*.tsx"],
Expand Down

0 comments on commit 67ed0e8

Please sign in to comment.