We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@rollup/plugin-typescript
format: 'esm'
@rollup/plugin-typescript should honor format: 'esm' and produce declaration files with explicit file extensions:
// dist/index.d.ts export * from './core.js';
@rollup/plugin-typescript does not provide an explicit file extension in declaration files:
// dist/index.d.ts export * from './core';
Note that for the JS output, this works as expected:
// index.js export { test } from './core.js';
Reproduction:
pnpm i
pnpm build
pnpm lint
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@rollup/plugin-typescript
Expected Behavior
@rollup/plugin-typescript
should honorformat: 'esm'
and produce declaration files with explicit file extensions:Actual Behavior
@rollup/plugin-typescript
does not provide an explicit file extension in declaration files:Additional Information
Note that for the JS output, this works as expected:
Reproduction:
pnpm i
pnpm build
pnpm lint
(fails, as expected)The text was updated successfully, but these errors were encountered: