extensionsPlugin()
ts
function extensionsPlugin(options?): Plugin;Defined in: plugin.ts:26
A Rollup plugin that adds extensions to import statements that are missing them, and optionally replaces existing extensions with specified ones.
Parameters
| Parameter | Type | Description |
|---|---|---|
options? | Options | Options to configure the plugin's behavior. |
Returns
Plugin
A Rollup plugin
Since
1.0.0
Author
Simon Kovtyk