Skip to content

Commit

Permalink
fix CJS standard loading path for the framework preset
Browse files Browse the repository at this point in the history
  • Loading branch information
bashmish committed Sep 23, 2024
1 parent 2e4eb73 commit 414dc64
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 16 deletions.
2 changes: 0 additions & 2 deletions packages/storybook-framework-web-components/index.d.ts

This file was deleted.

8 changes: 2 additions & 6 deletions packages/storybook-framework-web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,9 @@
".": {
"require": "./dist/index.js",
"import": "./index.mjs",
"types": "./index.d.ts"
},
"./preset": {
"require": "./dist/preset.js",
"import": "./preset.mjs",
"types": "./preset.d.ts"
"types": "./dist/index.d.ts"
},
"./preset": "./preset.js",
"./package.json": "./package.json"
},
"engines": {
Expand Down
2 changes: 0 additions & 2 deletions packages/storybook-framework-web-components/preset.d.ts

This file was deleted.

1 change: 1 addition & 0 deletions packages/storybook-framework-web-components/preset.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/preset.js');
6 changes: 0 additions & 6 deletions packages/storybook-framework-web-components/preset.mjs

This file was deleted.

0 comments on commit 414dc64

Please sign in to comment.