You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This import blows up our build system when we try to use this library. I don't think it should be pointing directly to the dist min file. Shouldn't it be:
lottie-api incorrectly references their "main" script in package.json as dist/lottie_api.js. This should be set to src/index.js so that webpack and other transpilers can more efficiently package code. The statically compiled files in dist are for loading it stand-alone.
To side step this problem, lottie-react-web should use this import:
import lottieApi from 'lottie-api/src/index'
(and lottie-react-web should probably do the same thing)
This import blows up our build system when we try to use this library. I don't think it should be pointing directly to the dist min file. Shouldn't it be:
import lottieApi from 'lottieApi';
lottie-react-web/src/index.js
Line 4 in 6deb338
The text was updated successfully, but these errors were encountered: