We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In #9, it fixes the playground import in a hacked way which adds the ./dist field of the exports in the package.json.
./dist
exports
package.json
I think adding a files field in the package.json is a better solution.
files
publish()
.build.mjs
{ "files": ["dist"] }
main
module
types
pnpm build
npm pack --dry-run
After doing the above, I think the imports and exports are unified.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Situation
In #9, it fixes the playground import in a hacked way which adds the
./dist
field of theexports
in thepackage.json
.Alternative solution
I think adding a
files
field in thepackage.json
is a better solution../dist
of thepublish()
in the.build.mjs
files
in the package.jsonpackage.json
such asexports
,main
,module
, andtypes
pnpm build
and can also runnpm pack --dry-run
to see the tarball contents if needAfter doing the above, I think the imports and exports are unified.
The text was updated successfully, but these errors were encountered: