Skip to content
New issue

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

Fix package json warning #542

Open
michaeldev5 opened this issue Nov 30, 2024 · 0 comments
Open

Fix package json warning #542

michaeldev5 opened this issue Nov 30, 2024 · 0 comments
Labels
maintenance work XCM SDK Issue is about XCM SDK

Comments

@michaeldev5
Copy link
Collaborator

▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]

package.json:12:6:
  12 │       "types": "./dist/index.d.ts"
     ╵       ~~~~~~~

The "import" condition comes earlier and will be used for all
"import" statements:

package.json:10:6:
  10 │       "import": "./dist/index.mjs",
     ╵       ~~~~~~~~

The "require" condition comes earlier and will be used for all
"require" calls:

package.json:11:6:
  11 │       "require": "./dist/index.cjs",
     ╵       ~~~~~~~~~

▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]

package.json:17:6:
  17 │       "types": "./dist/papi/index.d.ts"
     ╵       ~~~~~~~

The "import" condition comes earlier and will be used for all
"import" statements:

package.json:15:6:
  15 │       "import": "./dist/papi/index.mjs",
     ╵       ~~~~~~~~

The "require" condition comes earlier and will be used for all
"require" calls:

package.json:16:6:
  16 │       "require": "./dist/papi/index.cjs",
     ╵       ~~~~~~~~~
@michaeldev5 michaeldev5 added maintenance work XCM SDK Issue is about XCM SDK labels Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance work XCM SDK Issue is about XCM SDK
Projects
None yet
Development

No branches or pull requests

1 participant