@netlify/vite-plugin-react-router 1.0.0 → 1.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.1](https://github.com/netlify/remix-compute/compare/vite-plugin-react-router-v1.0.0...vite-plugin-react-router-v1.0.1) (2025-04-04)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **deps:** support and test against Vite 6 ([#507](https://github.com/netlify/remix-compute/issues/507)) ([58c378a](https://github.com/netlify/remix-compute/commit/58c378ac6e1a723300f240756c1e26e577b00d44))
9
+
3
10
  ## 1.0.0 (2024-12-13)
4
11
 
5
12
 
package/README.md CHANGED
@@ -8,7 +8,7 @@ To deploy a React Router 7+ site to Netlify, install this package:
8
8
  ## How to use
9
9
 
10
10
  ```sh
11
- npm --save-dev install @netlify/vite-plugin-react-router
11
+ npm install --save-dev @netlify/vite-plugin-react-router
12
12
  ```
13
13
 
14
14
  and include the Netlify plugin in your `vite.config.ts`:
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { ServerBuild, AppLoadContext } from 'react-router';
1
+ import { AppLoadContext, ServerBuild } from 'react-router';
2
2
  import { Context } from '@netlify/functions';
3
3
  import { Plugin } from 'vite';
4
4
 
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ServerBuild, AppLoadContext } from 'react-router';
1
+ import { AppLoadContext, ServerBuild } from 'react-router';
2
2
  import { Context } from '@netlify/functions';
3
3
  import { Plugin } from 'vite';
4
4
 
package/dist/index.js CHANGED
@@ -18,12 +18,12 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  createRequestHandler: () => createRequestHandler,
24
24
  default: () => netlifyPlugin
25
25
  });
26
- module.exports = __toCommonJS(src_exports);
26
+ module.exports = __toCommonJS(index_exports);
27
27
 
28
28
  // src/server.ts
29
29
  var import_react_router = require("react-router");
@@ -56,7 +56,7 @@ var import_posix = require("path/posix");
56
56
 
57
57
  // package.json
58
58
  var name = "@netlify/vite-plugin-react-router";
59
- var version = "1.0.0";
59
+ var version = "1.0.1";
60
60
 
61
61
  // src/plugin.ts
62
62
  var NETLIFY_FUNCTIONS_DIR = ".netlify/v1/functions";
package/dist/index.mjs CHANGED
@@ -29,7 +29,7 @@ import { sep as posixSep } from "node:path/posix";
29
29
 
30
30
  // package.json
31
31
  var name = "@netlify/vite-plugin-react-router";
32
- var version = "1.0.0";
32
+ var version = "1.0.1";
33
33
 
34
34
  // src/plugin.ts
35
35
  var NETLIFY_FUNCTIONS_DIR = ".netlify/v1/functions";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/vite-plugin-react-router",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "React Router 7+ Vite plugin for Netlify",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",
@@ -45,13 +45,13 @@
45
45
  "react-router": "^7.0.1"
46
46
  },
47
47
  "devDependencies": {
48
- "@netlify/functions": "^2.8.1",
48
+ "@netlify/functions": "^3.0.0",
49
49
  "@types/react": "^18.0.27",
50
50
  "@types/react-dom": "^18.0.10",
51
51
  "react": "^18.2.0",
52
52
  "react-dom": "^18.2.0",
53
53
  "tsup": "^8.0.2",
54
- "vite": "^5.4.11"
54
+ "vite": "^6.2.5"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "vite": ">=5.0.0"