vite-plugin-zephyr 0.0.0-canary-20250122193404 → 0.0.0-canary-20250130152943

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1 +1,39 @@
1
1
  # vite-plugin-zephyr
2
+
3
+ <div align="center">
4
+
5
+ [Zephyr Cloud](https://zephyr-cloud.io) | [Zephyr Docs](https://docs.zephyr-cloud.io/recipes/rspack-react) | [Rspack Docs](https://rspack.dev) | [Discord](https://zephyr-cloud.io/discord) | [Twitter](https://x.com/ZephyrCloudIO) | [LinkedIn](https://www.linkedin.com/company/zephyr-cloud/)
6
+
7
+ <hr/>
8
+ </div>
9
+
10
+ `vite-plugin-zephyr` is a plugin to deploy application built with [Vite](https://vitejs.dev). Read more from our documentation [here](https://docs.zephyr-cloud.io/recipes/react-vite). We use the official [vite plugin from Module Federation](https://github.com/module-federation/vite) under the hood.
11
+
12
+ ## Installation
13
+
14
+ ```
15
+ # npm
16
+ npm install --save-dev vite-plugin-zephyr
17
+ # yarn
18
+ yarn add --dev vite-plugin-zephyr
19
+ # pnpm
20
+ pnpm add --dev vite-plugin-zephyr
21
+ # bun
22
+ bun add --dev vite-plugin-zephyr
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ Using `vite-plugin-zephyr` adding it to the plugins array:
28
+
29
+ ```js
30
+ import { withZephyr, type ModuleFederationOptions } from 'vite-plugin-zephyr';
31
+
32
+ export default defineConfig({
33
+ plugins: [react(), withZephyr({ mfConfig })],
34
+ build: {
35
+ target: 'chrome89',
36
+ },
37
+ });
38
+ export default config;
39
+ ```
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-zephyr",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-zephyr",
3
- "version": "0.0.0-canary-20250122193404",
3
+ "version": "0.0.0-canary-20250130152943",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "json5": "2.2.3",
14
14
  "rollup": "^4.22.5",
15
15
  "vite": "^5.4.8",
16
- "zephyr-agent": "0.0.0-canary-20250122193404"
16
+ "zephyr-agent": "0.0.0-canary-20250130152943"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/is-ci": "^3.0.4"