styleguidist/react-styleguidist

Custom styles are not applied to minified build

Open

#1,525 opened on Jan 22, 2020

View on GitHub
 (11 comments) (2 reactions) (0 assignees)TypeScript (1,416 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (11,091 stars)
PR merge metrics
 (PR metrics pending)

Description

Current behavior

This has been reported earlier: https://github.com/styleguidist/react-styleguidist/issues/1431

When I run styleguidist build with a webpack config that minifies function names then my custom styles are not applied.

To reproduce

https://github.com/McManning/styleguidist-demo

Expected behavior

I expect the minified bundle to still apply my custom styles.

Contributor guide