@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 +7 -0
- package/README.md +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
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
|
|
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
package/dist/index.d.ts
CHANGED
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
|
|
22
|
-
__export(
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
23
|
createRequestHandler: () => createRequestHandler,
|
|
24
24
|
default: () => netlifyPlugin
|
|
25
25
|
});
|
|
26
|
-
module.exports = __toCommonJS(
|
|
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.
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/vite-plugin-react-router",
|
|
3
|
-
"version": "1.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": "^
|
|
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": "^
|
|
54
|
+
"vite": "^6.2.5"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"vite": ">=5.0.0"
|