-
-
Notifications
You must be signed in to change notification settings - Fork 615
Closed
Description
- Rollup Plugin Name: @rollup/plugin-babel
- Rollup Plugin Version: 5.1.0
- Rollup Version: 2.21.0
- Operating System (or Browser): latest repl.it
- Node Version: latest repl.it
- Link to reproduction (
⚠️ read below): https://repl.it/@csr632/rollup-plugin-repro-1#input.js
Expected Behavior
The plugin should accept module id with query param in it.
The motivation is similar to how node-resolve plugin support hash and query.
Actual Behavior
It doesn't recognize .ts extension because the module id is file.ts?query=asd.
Additional Information
In my case, when I am doing some special import, I store some infomation in the query, so that my plugin can treat it differently.
Reactions are currently unavailable