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
If I do npm install ldclient-js@2.4.1 and then ls -la node_modules/ldclient-js/ there is no src/ folder - but src is referenced in package.json:
"types": "./src/index.d.ts",
"version": "2.4.1"
Which means that our typescript builds fail when we reference LDClient in 2.4.1.
If I do npm install ldclient-js@2.4.0 then ls -la node_modules/ldclient-js/ does have a src/ folder with the index.d.ts file in it, so our Typescript imports work fine with 2.4.0.
So I guess the npmjs publish now ignores the src folder?
If that is the case it would be very nice if you could move the index.d.ts to the dist, or somewhere else that is included in the publish and update the types property in package.json.