diff --git a/packages/storybook-framework-web-components/index.d.ts b/packages/storybook-framework-web-components/index.d.ts deleted file mode 100644 index 06811aaaf..000000000 --- a/packages/storybook-framework-web-components/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -// this file is autogenerated with the generate-mjs-dts-entrypoints script -export * from './dist/index.js'; diff --git a/packages/storybook-framework-web-components/package.json b/packages/storybook-framework-web-components/package.json index 3db5c5e4b..358ad2512 100644 --- a/packages/storybook-framework-web-components/package.json +++ b/packages/storybook-framework-web-components/package.json @@ -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": { diff --git a/packages/storybook-framework-web-components/preset.d.ts b/packages/storybook-framework-web-components/preset.d.ts deleted file mode 100644 index 0c87188b2..000000000 --- a/packages/storybook-framework-web-components/preset.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -// this file is autogenerated with the generate-mjs-dts-entrypoints script -export * from './dist/preset.js'; diff --git a/packages/storybook-framework-web-components/preset.js b/packages/storybook-framework-web-components/preset.js new file mode 100644 index 000000000..ecf1572f9 --- /dev/null +++ b/packages/storybook-framework-web-components/preset.js @@ -0,0 +1 @@ +module.exports = require('./dist/preset.js'); diff --git a/packages/storybook-framework-web-components/preset.mjs b/packages/storybook-framework-web-components/preset.mjs deleted file mode 100644 index 27db30440..000000000 --- a/packages/storybook-framework-web-components/preset.mjs +++ /dev/null @@ -1,6 +0,0 @@ -// this file is autogenerated with the generate-mjs-dts-entrypoints script -import cjsEntrypoint from './dist/preset.js'; - -const { core } = cjsEntrypoint; - -export { core };