We're updating the issue view to help you get more done. 

Use of material-ui components breaks UI

Description

We use uglifyjs for minifying out code in both gulp and webpack build environments. We recently started migrating plugin configuration widgets to material-ui components.

Under the hood material-ui is using react-hooks api which uglifyjs doesn't play well.

Reference: https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/374

Solution: We need to move to terser plugin provided by webpack instead of uglifyjs.

Release Notes

None

Activity

Show:
Ajai Narayanan
June 7, 2019, 11:13 PM
Fixed

Assignee

Ajai Narayanan

Reporter

Ajai Narayanan

Labels

None

Docs Impact

None

UX Impact

None

Components

Fix versions

Priority

Blocker
Configure