@gioboa/vite-module-federation
Advanced tools
Comparing version 0.2.3 to 0.2.4
{ | ||
"name": "@gioboa/vite-module-federation", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Vite/Rollup plugin for Module Federation", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -13,5 +13,5 @@ # Vite/Rollup plugin for Module Federation | ||
[Microservices](https://martinfowler.com/articles/microservices.html) nowadays is a well known concept and maybe you are using it in your current company. | ||
Do you know that now you can apply similar ideas in the Frontend? | ||
With [Module Federation](https://blog.logrocket.com/building-micro-frontends-webpacks-module-federation/#:~:text=Module%20federation%20is%20a%20JavaScript,between%20two%20different%20application%20codebases.) you can load separately compiled and deployed code into an unique application. | ||
[Microservices](https://martinfowler.com/articles/microservices.html) nowadays is a well-known concept and maybe you are using it in your current company. | ||
Do you know that now you can apply similar ideas on the Frontend? | ||
With [Module Federation](https://blog.logrocket.com/building-micro-frontends-webpacks-module-federation/#:~:text=Module%20federation%20is%20a%20JavaScript,between%20two%20different%20application%20codebases.) you can load separately compiled and deployed code into a unique application. | ||
This plugin makes Module Federation work together with [Vite](https://vitejs.dev/). | ||
@@ -21,3 +21,3 @@ | ||
👉 Here you can find a [working implementation](https://github.com/gioboa/svelte-microfrontend-demo) that shows how use the plugin. | ||
👉 Here you can find a [working implementation](https://github.com/gioboa/svelte-microfrontend-demo) that shows how to use the plugin. | ||
@@ -43,3 +43,3 @@ ## Getting started 🚀 | ||
plugins: [ | ||
federation({ | ||
await federation({ | ||
options: { | ||
@@ -65,3 +65,3 @@ workspaceRoot: __dirname, | ||
You need to define two different configurations in the `federationConfig` property.<br> | ||
Here two examples: | ||
Here are two examples: | ||
@@ -68,0 +68,0 @@ - [host](https://www.npmjs.com/package/@softarc/native-federation#configuring-hosts) |
567681