Skip to content
Snippets Groups Projects
Commit de3e8996 authored by Alf Eaton's avatar Alf Eaton
Browse files

Use paths to styleguide components

parent acfc5a64
No related branches found
No related tags found
No related merge requests found
const styleguideComponents = require('xpub-styleguide')
module.exports = {
title: 'xpub-ui style guide',
styleguideComponents,
styleguideComponents: {
StyleGuideRenderer: require.resolve('xpub-styleguide/src/components/StyleGuideRenderer'),
Wrapper: require.resolve('xpub-styleguide/src/components/Wrapper')
},
context: {
faker: 'faker',
},
components: './src/*.js',
skipComponentsWithoutExample: true,
webpackConfig: require('./webpack.config.js'),
theme: {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment