Closed stephenhebert closed 1 year ago
This issue currently causes ES imports to fail with this error:
The requested module '/node_modules/lottie-web/build/player/lottie.js?v=68b5337f' does not provide an export named 'default'
thanks!
This change need fix the following usage
import('lottie-web').then(lottie => { lottie. loadAnimation(xxx) })
;
Package.json currently only specifies a main package entry which points to a UMD file. The ESM build files are located in ./build/player/esm and should be specified with the "module" option.