Merge branch 'future/tsup-presets-1' into future/tsup-libs-1

This commit is contained in:
Norbert de Langen 2022-06-23 11:48:09 +02:00
commit 64a5f655e3
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762

View File

@ -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'),
],
},