styleguidist/react-styleguidist

Custom styles are not applied to minified build

Open

#1525 aperta il 22 gen 2020

Vedi su GitHub
 (11 commenti) (2 reazioni) (0 assegnatari)TypeScript (1416 fork)github user discovery
bughelp wanted

Metriche repository

Star
 (11.091 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor