remove the html entrypoint of lib/components

This commit is contained in:
Norbert de Langen 2022-10-14 11:48:54 +02:00
parent ac2f930820
commit c17ce4cb5e
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762
4 changed files with 1 additions and 19 deletions

View File

@ -1 +0,0 @@
export * from './dist/html';

View File

@ -1 +0,0 @@
export * from './dist/html';

View File

@ -82,8 +82,7 @@
},
"bundler": {
"entries": [
"./src/index.ts",
"./src/html.tsx"
"./src/index.ts"
],
"platform": "neutral"
},

View File

@ -1,15 +0,0 @@
import { dedent } from 'ts-dedent';
import deprecate from 'util-deprecate';
const deprecatedHtmlEndpoint = deprecate(
() => {},
dedent`
The entry point '@storybook/components/html' is deprecated. Please use '@storybook/components' directly instead.
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-storybook-components-html-entry-point
`
);
deprecatedHtmlEndpoint();
export * from './typography/DocumentFormatting';
export { components, resetComponents } from './index';