You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: G] The condition "default" here will never be used as it comes after both "import" and "require" [package.json]
package.json:48:6:
48 │ "default": "./dist/index.js"
╵ ~~~~~~~~~
The "import" condition comes earlier and will be used for all "import" statements:
package.json:46:6:
46 │ "import": "./dist/index.js",
╵ ~~~~~~~~
The "require" condition comes earlier and will be used for all "require" calls:
package.json:47:6:
47 │ "require": "./dist/index.cjs",
╵ ~~~~~~~~~
Warning: G] The condition "default" here will never be used as it comes after both "import" and "require" [package.json]
package.json:54:6:
54 │ "default": "./dist/locale/*.js"
╵ ~~~~~~~~~
The "import" condition comes earlier and will be used for all "import" statements:
package.json:52:6:
52 │ "import": "./dist/locale/*.js",
╵ ~~~~~~~~
The "require" condition comes earlier and will be used for all "require" calls:
package.json:53:6:
53 │ "require": "./dist/locale/*.cjs",
╵ ~~~~~~~~~
There is a warning in the package.json when the code is build using tsup.
Related code:
faker/package.json
Lines 44 to 49 in 17f570e
faker/package.json
Lines 50 to 55 in 17f570e
The text was updated successfully, but these errors were encountered: