Liferay NPM Bundler preset for npm modules containing isomorphic code.
npm install --save-dev liferay-npm-bundler-preset-isomorphic
Add the following to your .npmbundlerrc
file:
{
"preset": "liferay-npm-bundler-preset-isomorphic"
}
This preset includes the following Babel presets:
And the following Liferay NPM Bundler plugins: