mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
21 lines
532 B
JavaScript
21 lines
532 B
JavaScript
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin')
|
|
|
|
module.exports = {
|
|
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.tsx'],
|
|
addons: [
|
|
'@storybook/addon-links',
|
|
'@storybook/addon-essentials',
|
|
'@storybook/addon-interactions'
|
|
],
|
|
framework: '@storybook/react',
|
|
webpackFinal: async (config) => {
|
|
config.resolve.plugins = [
|
|
...(config.resolve.plugins || []),
|
|
new TsconfigPathsPlugin({
|
|
extensions: config.resolve.extensions
|
|
})
|
|
]
|
|
return config
|
|
}
|
|
}
|