storybook,core-components: fix storybook config and Link and Button storybooks
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -3,8 +3,7 @@ const WebpackPluginFailBuildOnWarning = require('./webpack-plugin-fail-build-on-
|
||||
|
||||
module.exports = {
|
||||
stories: [
|
||||
'../../components/src/layout/**/*.stories.tsx',
|
||||
'../../components/src/components/**/*.stories.tsx',
|
||||
'../../core-components/src/**/*.stories.tsx',
|
||||
'../../../plugins/**/src/**/*.stories.tsx',
|
||||
],
|
||||
addons: [
|
||||
@@ -14,9 +13,6 @@ module.exports = {
|
||||
'storybook-dark-mode/register',
|
||||
],
|
||||
webpackFinal: async config => {
|
||||
/* eslint-disable-next-line no-restricted-syntax */
|
||||
const componentsSrc = path.resolve(__dirname, '../../components/src');
|
||||
|
||||
// Mirror config in packages/cli/src/lib/bundler
|
||||
config.resolve.mainFields = ['browser', 'module', 'main'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user