wp-react-plugin
wp-react-plugin copied to clipboard
Find a way to enqueue development or production scripts more effectively.
At the moment when the dev script is running the dist folder is deleted so that the dynamic script is always loaded. This isn't ideal as you then have to manually build the production files. It's easy to forget and then the React app won't load unless you're running the dev setup.