@originjs/vite-plugin-federation
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -0,1 +1,10 @@ | ||
## [1.1.5](https://github.com/originjs/vite-plugin-federation/compare/v1.1.4...v1.1.5) (2022-04-26) | ||
### Features | ||
* add dynamic field `externalType` and demo ([1f0ddf6](https://github.com/originjs/vite-plugin-federation/commit/1f0ddf6c9adaa533f777dc6b4b3ad7fd1edab5e5)) | ||
## [1.1.4](https://github.com/originjs/vite-plugin-federation/compare/v1.1.3...v1.1.4) (2022-04-12) | ||
@@ -2,0 +11,0 @@ |
{ | ||
"name": "@originjs/vite-plugin-federation", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "A Vite plugin which support Module Federation.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -63,3 +63,3 @@ /** | ||
*/ | ||
runtime?: string | false | ||
// runtime?: string | false | ||
@@ -205,3 +205,3 @@ /** | ||
declare interface RemotesObject { | ||
[index: string]: string | RemotesConfig | string[] | ||
[index: string]: string | RemotesConfig | string[] | Promise<any> | ||
} | ||
@@ -216,5 +216,10 @@ | ||
*/ | ||
external: string | string[] | ||
external: string | ||
/** | ||
* The format of the specified external | ||
*/ | ||
externalType: 'url' | 'promise' | ||
/** | ||
* The name of the share scope shared with this remote. | ||
@@ -221,0 +226,0 @@ */ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
245743
5435