Skip to content

v19.0.77

Compare
Choose a tag to compare
@jrios jrios released this 30 Aug 15:19

In this release, an update to the package artifacts were made. There is now a browser artifact that gets output in addition to lib and cjs artifacts. In the usage of Webpack, it will default to using browser if that field exists in the package.json.

This can cause issues when attempting to run Webpack in production mode and minifying the bundled JavaScript. There are two ways to fix this:

  1. Add an alias to the webpack.config.js file such that it points to es-components/lib.
  2. Do not minify the produced bundle. (This is not recomeended)