Skip to content

Conversation

@Yang-33
Copy link
Owner

@Yang-33 Yang-33 commented Mar 14, 2024

I'm not sure

  • CJS works as it is
  • exports: { .. } is right
  • tsconfig.esm.json is right
  • CJS's package.json is right (other repository setup another package.json)
  • ESM's package.json is right (same reason as above)
  • how to remove const pkg = require("../package.json"); from http-(fetch|axios).ts

@Yang-33
Copy link
Owner Author

Yang-33 commented Mar 14, 2024

mochaを動かそうとすると、CJSを指定してもESMで動いてしまう用になってしまっている。それをなんとかして直せば次に進める

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants