- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 611
Closed
Labels
Description
- Rollup Plugin Name: @rollup/plugin-typescript
- Rollup Plugin Version: ^8.3.0
- Rollup Version: ^2.59.0
- Operating System (or Browser):
- Node Version:
- Link to reproduction (⚠️ read below): https://github.com/loynoir/reproduce-rollup-plugins-1032.mjs
Expected Behavior
No error
Actual Behavior
$ rollup -c
./index.mjs → stdout...                                                                                          
[!] Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)                 
lib/a.d.mts (1:7)
1: export declare const value = "a";
          ^
Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)Additional Information
Typescript have new file pattern .d.mts .d.cts