Title: Minification of WP inbuilt React Scripts thows errors
Last modified: March 6, 2022

---

# Minification of WP inbuilt React Scripts thows errors

 *  [VibeThemes](https://wordpress.org/support/users/vibethemes/)
 * (@vibethemes)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/minification-of-wp-inbuilt-react-scripts-thows-errors/)
 * We are facing a lot of issues in minifying inbuilt WP scripts, most importantly
   the wp-elements and wp-data scripts.
    If you create a react script to be used
   in a plugin which is using ReactJS from wp-elements, it turns out you can not
   minify the script.

Viewing 1 replies (of 1 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/minification-of-wp-inbuilt-react-scripts-thows-errors/#post-15430506)
 * A concrete example for your application would help to check this more precisely.
   Could you provide this? Above all, it would also be important to know how you
   carry out the minimisation.

Viewing 1 replies (of 1 total)

The topic ‘Minification of WP inbuilt React Scripts thows errors’ is closed to new
replies.

## Tags

 * [minification](https://wordpress.org/support/topic-tag/minification/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/minification-of-wp-inbuilt-react-scripts-thows-errors/#post-15430506)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
