Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita8f897d

Browse files
committed
fix(package): correct exports configuration
- Move �xports from publishConfig to the package root so Node can resolve it- Prefix all subpath keys with ./- Replace wildcard * with ./*- Add explicit ./register export- Keep ./package.json export
1 parent463e167 commita8f897d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
-name:Changesets - Version or Publish
4242
uses:changesets/action@v1
4343
with:
44+
commit:"chore: update versions"
45+
title:"chore: update versions"
4446
version:pnpm run changeset:version
4547
publish:pnpm run changeset:publish
4648
env:

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"exports": {
1717
".":"./dist/cjs/index.js",
1818
"./package.json":"./package.json",
19-
"*":"./dist/cjs/*",
20-
"register":"./dist/cjs/register.js"
19+
"./register":"./dist/cjs/register.js",
20+
"./*":"./dist/cjs/*.js"
2121
}
2222
},
2323
"repository": {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp