styleguidist/react-styleguidist

Custom styles are not applied to minified build

Open

#1.525 geöffnet am 22. Jan. 2020

Auf GitHub ansehen
 (11 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)TypeScript (1.416 Forks)github user discovery
bughelp wanted

Repository-Metriken

Stars
 (11.091 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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