Skip to content

Commit

Permalink
Re-fix rjsf-team#3228 and related follow-up issues
Browse files Browse the repository at this point in the history
- Upgrade vite to 4.0.4
- Remove ajv8 alias for validator-ajv8 (will fix issues in skypack)
- Change vite mode to production (fixes issue where vite/esbuild mix up ajv v6 and v8)
  • Loading branch information
nickgros committed Jan 13, 2023
1 parent 86d1993 commit ad7ec91
Show file tree
Hide file tree
Showing 17 changed files with 35,035 additions and 10,622 deletions.
7,270 changes: 5,729 additions & 1,541 deletions packages/antd/package-lock.json

Large diffs are not rendered by default.

7,282 changes: 5,729 additions & 1,553 deletions packages/bootstrap-4/package-lock.json

Large diffs are not rendered by default.

7,282 changes: 5,729 additions & 1,553 deletions packages/chakra-ui/package-lock.json

Large diffs are not rendered by default.

210 changes: 24 additions & 186 deletions packages/core/package-lock.json

Large diffs are not rendered by default.

7,270 changes: 5,729 additions & 1,541 deletions packages/fluent-ui/package-lock.json

Large diffs are not rendered by default.

7,282 changes: 5,729 additions & 1,553 deletions packages/material-ui/package-lock.json

Large diffs are not rendered by default.

7,282 changes: 5,729 additions & 1,553 deletions packages/mui/package-lock.json

Large diffs are not rendered by default.

1,268 changes: 605 additions & 663 deletions packages/playground/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/playground/package.json
Expand Up @@ -114,7 +114,7 @@
"rimraf": "^3.0.2",
"sass": "^1.57.1",
"source-map-loader": "^4.0.1",
"vite": "^3.2.2"
"vite": "^4.0.4"
},
"directories": {
"test": "test"
Expand Down
1 change: 1 addition & 0 deletions packages/playground/vite.config.ts
Expand Up @@ -11,6 +11,7 @@ export default defineConfig({
open: process.env.NODE_ENV !== "production",
}, // maintain the old webpack behavior in dev
plugins: [react()],
mode: "production", // Fixes https://github.com/rjsf-team/react-jsonschema-form/issues/3228
resolve: {
alias: {
// The following is needed to allow the material ui v4 and v5 themes to properly load the css
Expand Down

0 comments on commit ad7ec91

Please sign in to comment.