styleguidist/react-styleguidist

Custom styles are not applied to minified build

Open

#1.525 aberto em 22 de jan. de 2020

Ver no GitHub
 (11 comments) (2 reactions) (0 assignees)TypeScript (1.416 forks)github user discovery
bughelp wanted

Métricas do repositório

Stars
 (11.091 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador