Skip to content

Commit

Permalink
bump to stable remix-vite preview
Browse files Browse the repository at this point in the history
  • Loading branch information
xHomu committed Feb 16, 2024
1 parent 29a3b88 commit 21ccc13
Show file tree
Hide file tree
Showing 4 changed files with 312 additions and 372 deletions.
2 changes: 1 addition & 1 deletion docs/decisions/002-vite.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ We'll adopt Vite early to help shake out any growing pains.

## Consequences

Breaking changes. Until PayloadCMS have ESM releases, we'll continue to have CJS interop issues in Vite.
The CJS build of Vite's Node API is deprecated. We'll continue to see CJS interop issues until PayloadCMS ships ESM releases.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@
},
"dependencies": {
"@payloadcms/bundler-vite": "^0.1.6",
"@payloadcms/db-mongodb": "^1.4.0",
"@payloadcms/richtext-lexical": "^0.5.2",
"@remix-run/express": "^2.6.0",
"@remix-run/node": "^2.6.0",
"@remix-run/react": "^2.6.0",
"@payloadcms/db-mongodb": "^1.4.2",
"@payloadcms/richtext-lexical": "^0.7.0",
"@remix-run/express": "2.7.0-pre.1",
"@remix-run/node": "2.7.0-pre.1",
"@remix-run/react": "2.7.0-pre.1",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"isbot": "^3.7.0",
"morgan": "^1.10.0",
"payload": "^2.9.0",
"payload": "^2.11.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"source-map-support": "^0.5.21",
"tiny-invariant": "^1.3.1"
},
"devDependencies": {
"@remix-run/dev": "^2.6.0",
"@remix-run/eslint-config": "^2.6.0",
"@swc/core": "1.3.100",
"@remix-run/dev": "2.7.0-pre.1",
"@remix-run/eslint-config": "2.7.0-pre.1",
"@swc/core": "1.3.107",
"@types/compression": "^1.7.4",
"@types/express": "^4.17.20",
"@types/morgan": "^1.9.7",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { unstable_vitePlugin as remix } from "@remix-run/dev";
import { vitePlugin as remix } from "@remix-run/dev";
import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";

Expand Down
Loading

0 comments on commit 21ccc13

Please sign in to comment.