@netlify/vite-plugin 2.10.2 → 2.10.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/dist/main.js +2 -2
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -20,7 +20,7 @@ import js from "dedent";
|
|
|
20
20
|
|
|
21
21
|
// package.json
|
|
22
22
|
var name = "@netlify/vite-plugin";
|
|
23
|
-
var version = "2.10.
|
|
23
|
+
var version = "2.10.4";
|
|
24
24
|
|
|
25
25
|
// src/lib/build.ts
|
|
26
26
|
var NETLIFY_FUNCTIONS_DIR = ".netlify/v1/functions";
|
|
@@ -144,7 +144,7 @@ function netlify(options = {}) {
|
|
|
144
144
|
});
|
|
145
145
|
const isStaticFile = result?.type === "static";
|
|
146
146
|
if (result && !isStaticFile) {
|
|
147
|
-
fromWebResponse(result.response, nodeRes);
|
|
147
|
+
await fromWebResponse(result.response, nodeRes);
|
|
148
148
|
return;
|
|
149
149
|
}
|
|
150
150
|
for (const key in headers) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/vite-plugin",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.4",
|
|
4
4
|
"description": "Vite plugin with a local emulation of the Netlify environment",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"vitest": "^3.0.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@netlify/dev": "4.
|
|
47
|
+
"@netlify/dev": "4.12.0",
|
|
48
48
|
"@netlify/dev-utils": "^4.3.3",
|
|
49
49
|
"dedent": "^1.7.0"
|
|
50
50
|
},
|