babel-plugin-solid-undestructure
babel-plugin-solid-undestructure copied to clipboard
Update package.json
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]
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 theindex.js
andindex.d.ts
files placed at the root level instead of those within thesrc
folder. This simplifies the project structure and makes it easier for other developers and systems to interact with it.
@orenelbaum Could you take a look, please?