@netlify/vite-plugin 2.1.2 → 2.1.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.
- package/README.md +17 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,6 +5,22 @@
|
|
|
5
5
|
|
|
6
6
|
A Vite plugin that integrates with Netlify's platform features.
|
|
7
7
|
|
|
8
|
+
## 🚧 Feature Support
|
|
9
|
+
|
|
10
|
+
| Feature | Supported |
|
|
11
|
+
| ---------------------- | --------- |
|
|
12
|
+
| Functions | ✅ Yes |
|
|
13
|
+
| Edge Functions | ✅ Yes |
|
|
14
|
+
| Blobs | ✅ Yes |
|
|
15
|
+
| Cache API | ✅ Yes |
|
|
16
|
+
| Redirects and Rewrites | ✅ Yes |
|
|
17
|
+
| Headers | ✅ Yes |
|
|
18
|
+
| Environment Variables | ✅ Yes |
|
|
19
|
+
| Image CDN | ❌ No |
|
|
20
|
+
|
|
21
|
+
> Note: Missing features will be added incrementally. This module is **not** intended to be a full replacement for the
|
|
22
|
+
> Netlify CLI.
|
|
23
|
+
|
|
8
24
|
## Installation
|
|
9
25
|
|
|
10
26
|
```bash
|
|
@@ -18,6 +34,7 @@ The plugin accepts the following options:
|
|
|
18
34
|
- `middleware` (boolean, default: `true`): Attach a Vite middleware that intercepts requests and handles them in the
|
|
19
35
|
same way as the Netlify production environment
|
|
20
36
|
- `blobs`: Configure blob storage functionality
|
|
37
|
+
- `edgeFunctions`: Configure edge functions
|
|
21
38
|
- `functions`: Configure serverless functions
|
|
22
39
|
- `headers`: Configure response headers
|
|
23
40
|
- `redirects`: Configure URL redirects
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/vite-plugin",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "Vite plugin with a local emulation of the Netlify environment",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"vitest": "^3.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@netlify/dev": "4.1.
|
|
39
|
+
"@netlify/dev": "4.1.4",
|
|
40
40
|
"@netlify/dev-utils": "^3.1.1",
|
|
41
41
|
"chalk": "^5.4.1"
|
|
42
42
|
},
|