Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Production build display wrong component name #50

Closed
WiNloSt opened this issue Aug 11, 2016 · 2 comments
Closed

Production build display wrong component name #50

WiNloSt opened this issue Aug 11, 2016 · 2 comments

Comments

@WiNloSt
Copy link

WiNloSt commented Aug 11, 2016

Scenario

In component info's Story Source and Props Table section, when using production build (and use static server to serve build files), component name is display as t. This happens because UglifyJsPlugin rename the component's constructor function name. When I remove UglifyJsPlugin from Webpack config, the component name is rendered as expected.

Actual result

Component name in production build changed i.e. From Slider to t

Expected result

Component name is rendered properly in production build

@thani-sh
Copy link
Contributor

Released v3.1.3 with a fix

@thani-sh
Copy link
Contributor

I think we can close this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants