Liferay NPM Bundler preset for create-react-app adapted projects.
npm install --save-dev liferay-npm-bundler-preset-create-react-app
Add the following to your .npmbundlerrc
file:
{
"preset": "liferay-npm-bundler-preset-create-react-app"
}
This preset takes care of projects created with the create-react-app tool so that they can be correctly bundled and deployed to Liferay DXP or Liferay Portal CE.