mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 12:11:06 +08:00
Add autoblock
This commit is contained in:
parent
1779122181
commit
fd728f9ee2
@ -11,6 +11,7 @@ const minimalVersionsMap = {
|
||||
'@storybook/preset-preact-webpack': '9.0.0',
|
||||
'@storybook/vue3-webpack5': '9.0.0',
|
||||
'@storybook/preset-vue3-webpack': '9.0.0',
|
||||
'@storybook/web-components-webpack5': '9.0.0',
|
||||
next: '14.1.0',
|
||||
preact: '10.0.0',
|
||||
svelte: '4.0.0',
|
||||
@ -67,14 +68,20 @@ export const blocker = createBlocker({
|
||||
return dedent`
|
||||
Support for Preact Webpack5 has been removed.
|
||||
Please see the migration guide for more information:
|
||||
${picocolors.yellow('https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#preact--dropped-webpack5-builder-support')}
|
||||
${picocolors.yellow('https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#dropped-webpack5-builder-support-in-favor-of-vite')}
|
||||
`;
|
||||
case '@storybook/vue3-webpack5':
|
||||
case '@storybook/preset-vue3-webpack':
|
||||
return dedent`
|
||||
Support for Vue3 Webpack5 has been removed.
|
||||
Please see the migration guide for more information:
|
||||
${picocolors.yellow('https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#vue3--dropped-webpack5-builder-support')}
|
||||
${picocolors.yellow('https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#dropped-webpack5-builder-support-in-favor-of-vite')}
|
||||
`;
|
||||
case '@storybook/web-components-webpack5':
|
||||
return dedent`
|
||||
Support for Web Components Webpack5 has been removed.
|
||||
Please see the migration guide for more information:
|
||||
${picocolors.yellow('https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#dropped-webpack5-builder-support-in-favor-of-vite')}
|
||||
`;
|
||||
case 'vue':
|
||||
return dedent`
|
||||
|
Loading…
x
Reference in New Issue
Block a user