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

[api-extractor] Get error when rollup with specifying module to Preserve #4863

Open
qmhc opened this issue Aug 6, 2024 · 0 comments
Open

Comments

@qmhc
Copy link

qmhc commented Aug 6, 2024

Summary

Get error when specifying module to Preserve:

{
  "compilerOptions": {
    "module": "Preserve"
  }
}

Repro steps

https://stackblitz.com/edit/vitejs-vite-r2mwdf?file=tsconfig.json&view=editor

Expected result: no error.

Actual result: get error: ERROR: Internal Error: getResolvedModule() could not resolve module name "./types".

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/api-extractor version? 7.47.5
Operating system? Linux
API Extractor scenario? rollups
Would you consider contributing a PR? No
TypeScript compiler version? 5.4.2
Node.js version (node -v)? 18.20.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant