UNPKG
cem-plugin-module-file-extensions
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Rewrite module path file extentions
github.com/bennypowers/cem-plugins
bennypowers/cem-plugins
cem-plugin-module-file-extensions
/
index.d.ts
8 lines
(5 loc)
•
228 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
type
{
Plugin
}
from
'@custom-elements-manifest/analyzer'
;
export
declare
function
moduleFileExtensionsPlugin
(
opts
?: {
from
?:
string
|
RegExp
; to?:
string
|(Parameters<
typeof
String
.prototype.replace>)[
1
]; }
):
Plugin
;