mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-01 05:05:25 +08:00
remove the html entrypoint of lib/components
This commit is contained in:
parent
ac2f930820
commit
c17ce4cb5e
1
code/lib/components/html.d.ts
vendored
1
code/lib/components/html.d.ts
vendored
@ -1 +0,0 @@
|
||||
export * from './dist/html';
|
@ -1 +0,0 @@
|
||||
export * from './dist/html';
|
@ -82,8 +82,7 @@
|
||||
},
|
||||
"bundler": {
|
||||
"entries": [
|
||||
"./src/index.ts",
|
||||
"./src/html.tsx"
|
||||
"./src/index.ts"
|
||||
],
|
||||
"platform": "neutral"
|
||||
},
|
||||
|
@ -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';
|
Loading…
x
Reference in New Issue
Block a user