Human Made developing react-wp-scripts

Last Updated on December 4, 2017 by Neil Murray

I recommend we follow/watch react-wp-scripts

This project solves two issues that prevent seamless usage of webpack in WordPress themes and plugins:

  • WordPress doesn’t necessarily know where to look for the output bundles.
  • WordPress cannot access the development server due to cross-origin restrictions.

It's based on create-react-app – uses a wrapper for create-react-app's react-scripts to allow seamless usage of scripts and styles served from webpack-dev-server in WordPress.

Leave a Reply

Your email address will not be published. Required fields are marked *