mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 16:11:08 +08:00
Merge branch 'future/tsup-presets-1' into future/tsup-libs-1
This commit is contained in:
commit
64a5f655e3
@ -8,14 +8,14 @@ export const webpack: StorybookConfig['webpack'] = (config) => {
|
||||
{
|
||||
type: 'javascript/auto',
|
||||
test: /\.stories\.json$/,
|
||||
use: require.resolve('@storybook/server-webpack/dist/loader.js'),
|
||||
use: require.resolve('@storybook/preset-server-webpack/dist/loader.js'),
|
||||
},
|
||||
|
||||
{
|
||||
type: 'javascript/auto',
|
||||
test: /\.stories\.ya?ml/,
|
||||
use: [
|
||||
require.resolve('@storybook/server-webpack/dist/loader.js'),
|
||||
require.resolve('@storybook/preset-server-webpack/dist/loader.js'),
|
||||
require.resolve('yaml-loader'),
|
||||
],
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user