babel-plugin-solid-undestructure icon indicating copy to clipboard operation
babel-plugin-solid-undestructure copied to clipboard

Update package.json

Open IgorSzymanski opened this issue 1 year ago • 2 comments

Properly pointing to main, module and types in package.json

In environments like vite, the undestructure-macros package is failing, because package.json points to files that don't exist.

Failed to resolve entry for package "undestructure-macros". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan]

IgorSzymanski avatar Dec 09 '23 13:12 IgorSzymanski

PR Summary

  • Updated Paths for Main Files in package.json The PR includes important adjustments to the package.json file. These changes direct the project to use the index.js and index.d.ts files placed at the root level instead of those within the src folder. This simplifies the project structure and makes it easier for other developers and systems to interact with it.

what-the-diff[bot] avatar Dec 09 '23 13:12 what-the-diff[bot]

@orenelbaum Could you take a look, please?

IgorSzymanski avatar Dec 09 '23 13:12 IgorSzymanski