UNPKG
@module-federation/vite
Version:
latest (1.9.4)
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.1
1.8.0
1.7.2
1.7.1
1.7.0
1.6.0
1.5.1
1.5.0
1.4.1
1.4.0
1.3.0
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0
1.0.0-alpha-ffc6e23
1.0.0-alpha-f87d7d3
1.0.0-alpha-f2257a4
1.0.0-alpha-def937d
1.0.0-alpha-c13dc95
1.0.0-alpha-b1bba84
1.0.0-alpha-80b7215
1.0.0-alpha-7c3ba59
1.0.0-alpha-6cae9ab
1.0.0-alpha-661e052
1.0.0-alpha-54ad191
1.0.0-alpha-51eeeb6
1.0.0-alpha-4a73cd4
1.0.0-alpha-31ab3f9
1.0.0-alpha-2f53b4e
1.0.0-alpha-1aa30c0
1.0.0-alpha-10e1f83
1.0.0-alpha-0b760f6
0.2.8
0.2.7
0.2.6
0.2.5
Vite plugin for Module Federation
github.com/module-federation/vite
module-federation/vite
@module-federation/vite
/
lib
/
plugins
/
pluginAddEntry.d.ts
10 lines
(9 loc)
•
295 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
Plugin
}
from
'vite'
;
interface
AddEntryOptions
{
entryName
:
string
;
entryPath
:
string
;
fileName
?:
string
;
inject
?:
'entry'
|
'html'
; }
declare
const
addEntry
:
(
{ entryName, entryPath, fileName, inject, }:
AddEntryOptions
) =>
Plugin
[];
export
default
addEntry;