plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[@rollup/plugin-typescript] allowImportingTsExtensions warning

Open floratmin opened this issue 8 months ago • 0 comments

  • Rollup Plugin Name: @rollup/plugin-typescript
  • Rollup Plugin Version: 11.1.6
  • Rollup Version: 4.18.0
  • Operating System (or Browser): Ubuntu 22.04.4 LTS
  • Node Version: 22.2.0, but also not with 20.14.0
  • Link to reproduction (⚠️ read below): rollup-tsconfig

Expected Behavior

No warning should be shown.

Actual Behavior

I get the following warning:

(!) [plugin typescript] @rollup/plugin-typescript TS5096: Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set.

Additional Information

Whatever I set in the files tsconfig.lib.ts and tsconfig.rollup.ts compilerOptions for noEmit or emitDeclarationsOnly this warning is shown.

floratmin avatar May 29 '24 09:05 floratmin