mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 21:51:17 +08:00
Addon-docs: Use framework-independent preset everywhere
This commit is contained in:
parent
8e8a4683af
commit
e446ec42ac
@ -149,7 +149,7 @@ The `addon-docs` preset has a few configuration options that can be used to conf
|
||||
```js
|
||||
module.exports = [
|
||||
{
|
||||
name: '@storybook/addon-docs/react/preset',
|
||||
name: '@storybook/addon-docs/preset',
|
||||
options: {
|
||||
configureJSX: true,
|
||||
babelOptions: {},
|
||||
|
@ -1 +1 @@
|
||||
module.exports = ['@storybook/addon-docs/react/preset'];
|
||||
module.exports = ['@storybook/addon-docs/preset'];
|
||||
|
@ -18,5 +18,5 @@ module.exports = [
|
||||
},
|
||||
},
|
||||
},
|
||||
'@storybook/addon-docs/react/preset',
|
||||
'@storybook/addon-docs/preset',
|
||||
];
|
||||
|
@ -1 +1 @@
|
||||
module.exports = ['@storybook/addon-docs/angular/preset'];
|
||||
module.exports = ['@storybook/addon-docs/preset'];
|
||||
|
@ -1 +1 @@
|
||||
module.exports = ['@storybook/addon-docs/html/preset'];
|
||||
module.exports = ['@storybook/addon-docs/preset'];
|
||||
|
@ -1,6 +1,6 @@
|
||||
module.exports = [
|
||||
{
|
||||
name: '@storybook/addon-docs/react/preset',
|
||||
name: '@storybook/addon-docs/preset',
|
||||
options: { configureJSX: true },
|
||||
},
|
||||
];
|
||||
|
@ -1,7 +1,7 @@
|
||||
module.exports = [
|
||||
'@storybook/preset-create-react-app',
|
||||
{
|
||||
name: '@storybook/addon-docs/react/preset',
|
||||
name: '@storybook/addon-docs/preset',
|
||||
options: {
|
||||
configureJSX: true,
|
||||
},
|
||||
|
@ -1 +1 @@
|
||||
module.exports = ['@storybook/addon-docs/vue/preset'];
|
||||
module.exports = ['@storybook/addon-docs/preset'];
|
||||
|
@ -1 +1 @@
|
||||
module.exports = ['@storybook/addon-docs/vue/preset'];
|
||||
module.exports = ['@storybook/addon-docs/preset'];
|
||||
|
@ -1,6 +1,6 @@
|
||||
module.exports = [
|
||||
{
|
||||
name: '@storybook/addon-docs/react/preset',
|
||||
name: '@storybook/addon-docs/preset',
|
||||
options: { configureJSX: true },
|
||||
},
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user