Closed ivan-navarro-75 closed 1 year ago
I imagine this is due to the fact that the types field in package.json is no longer used if there is an exports field
types
We'd need to move them inside the exports:
"exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/react-autosave.js", "require": "./dist/react-autosave.umd.cjs" } },
I imagine this is due to the fact that the
types
field in package.json is no longer used if there is an exports fieldWe'd need to move them inside the exports: