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
It would be worth updating the main property in the package.json file to point to dist/react-geosuggest.js (or equivalent pure JS file if that's not suitable) so that using require to pull react-geosuggest doesn't first require a build step.
For me, as this component is JSX, I have to update my webpack config and jest preprocessor script to include react-geosuggest as an allowed node_modules library to be included as part of the build.
The text was updated successfully, but these errors were encountered:
It would be worth updating the
main
property in thepackage.json
file to point todist/react-geosuggest.js
(or equivalent pure JS file if that's not suitable) so that usingrequire
to pullreact-geosuggest
doesn't first require a build step.For me, as this component is JSX, I have to update my webpack config and jest preprocessor script to include
react-geosuggest
as an allowednode_modules
library to be included as part of the build.The text was updated successfully, but these errors were encountered: