razzle-plugin-php
Razzle plugin to add babel-preset-php.
Note this is kind of a joke, but actually works.
Installation
yarn add razzle-plugin-php --devAdd it to your razzle.config.js:
// razzle.config.jsmodule.exports = { plugins: ['php'],};