@framework-m/vite-plugin 0.3.3 → 0.3.4

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.
Files changed (2) hide show
  1. package/README.md +39 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # @framework-m/vite-plugin
2
+
3
+ Vite plugin for Framework M plugin auto-discovery and bundling.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @framework-m/vite-plugin
9
+
10
+ # With pnpm
11
+ pnpm add @framework-m/vite-plugin
12
+ ```
13
+
14
+ ## Features
15
+
16
+ - **Auto-Discovery**: Automatically scan and register Framework M plugins in your workspace.
17
+ - **Module Federation**: Built-in support for ESM-based module federation.
18
+ - **Development Proxy**: Seamless integration with the Framework M backend for development.
19
+
20
+ ## Usage
21
+
22
+ Add the plugin to your `vite.config.ts`:
23
+
24
+ ```ts
25
+ import { defineConfig } from "vite";
26
+ import { frameworkMPlugin } from "@framework-m/vite-plugin";
27
+
28
+ export default defineConfig({
29
+ plugins: [
30
+ frameworkMPlugin({
31
+ // Configuration options
32
+ }),
33
+ ],
34
+ });
35
+ ```
36
+
37
+ ## License
38
+
39
+ Apache-2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@framework-m/vite-plugin",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Vite plugin for Framework M plugin auto-discovery and bundling",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",