Skip to content

Commit

Permalink
fix styleguide config
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolm-kee committed Oct 17, 2020
1 parent c204f07 commit 254ecec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion styleguide.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ const tsParser = require('react-docgen-typescript').withCustomConfig(
}
);

/**
* @type {import('react-styleguidist').StyleguidistConfig}
*/
module.exports = {
webpackConfig: require('mk-scripts/config/webpack.config'),
sections: [
{
name: 'Components',
Expand All @@ -25,7 +29,7 @@ module.exports = {
content: path.resolve(__dirname, 'src', 'icon/icon.md'),
},
],
require: [path.join(__dirname, 'src', 'tailwind.generated.css')],
require: [path.join(__dirname, 'src', 'tailwind.css')],
propsParser: (filePath, source, resolver, handlers) => {
const { ext } = path.parse(filePath);
return ext === '.tsx'
Expand Down

0 comments on commit 254ecec

Please sign in to comment.