styleguidist/react-styleguidist

Custom styles are not applied to minified build

Open

#1 525 ouverte le 22 janv. 2020

Voir sur GitHub
 (11 commentaires) (2 réactions) (0 assignés)TypeScript (1 416 forks)github user discovery
bughelp wanted

Métriques du dépôt

Stars
 (11 091 stars)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur