liferay-npm-bundler-preset-standard

Standard configuration for liferay-npm-bundler.

Usage no npm install needed!

<script type="module">
  import liferayNpmBundlerPresetStandard from 'https://cdn.skypack.dev/liferay-npm-bundler-preset-standard';
</script>

README

liferay-npm-bundler-preset-standard

Liferay NPM Bundler preset for regular npm modules.

Install

npm install --save-dev liferay-npm-bundler-preset-standard

Usage

Add the following to your .npmbundlerrc file:

{
    "preset": "liferay-npm-bundler-preset-standard"
}

Technical Details

This preset includes the following Babel presets:

  1. babel-preset-liferay-standard

And the following Liferay NPM Bundler plugins:

  1. liferay-npm-bundler-plugin-replace-browser-modules