@netlify/vite-plugin 2.7.1 → 2.7.3

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/dist/main.js +2 -1
  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.7.1";
23
+ var version = "2.7.3";
24
24
 
25
25
  // src/lib/build.ts
26
26
  var NETLIFY_FUNCTIONS_DIR = ".netlify/v1/functions";
@@ -129,6 +129,7 @@ function netlify(options = {}) {
129
129
  });
130
130
  await netlifyDev.start();
131
131
  viteDevServer.httpServer.once("close", () => {
132
+ delete process.env.__VITE_PLUGIN_NETLIFY_LOADED__;
132
133
  netlifyDev.stop();
133
134
  });
134
135
  logger.log("Environment loaded");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/vite-plugin",
3
- "version": "2.7.1",
3
+ "version": "2.7.3",
4
4
  "description": "Vite plugin with a local emulation of the Netlify environment",
5
5
  "type": "module",
6
6
  "engines": {
@@ -40,7 +40,7 @@
40
40
  "vitest": "^3.0.0"
41
41
  },
42
42
  "dependencies": {
43
- "@netlify/dev": "4.6.1",
43
+ "@netlify/dev": "4.6.2",
44
44
  "@netlify/dev-utils": "^4.3.0",
45
45
  "dedent": "^1.7.0"
46
46
  },