This WordPress plugin demonstrates how to setup a plugin that uses React and ES6 in a WordPress plugin.
npm run build
– Generate production versions of static assets.
npm run dev
- Start webpack in "watch" mode so that the assets are automatically compiled when a file changes.