Skip to content

Commit

Permalink
fix: vite config for playground app (#3152)
Browse files Browse the repository at this point in the history
* fix: vite config for playground app dev mode

* chore: add comment

* chore: downgrade vite

* chore: downgrade @vitejs/plugin-react
  • Loading branch information
kark authored Aug 4, 2023
1 parent 4343c83 commit 064bb2f
Show file tree
Hide file tree
Showing 5 changed files with 153 additions and 200 deletions.
7 changes: 7 additions & 0 deletions .changeset/popular-trainers-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@commercetools-website/components-playground': patch
'@commercetools-frontend/mc-scripts': patch
'@commercetools-local/visual-testing-app': patch
---

Fix playground in dev mode by downgrading `vite` to `v4.1.4`
4 changes: 2 additions & 2 deletions packages/mc-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@types/prompts": "^2.4.2",
"@types/svgo": "^2.6.4",
"@types/webpack-bundle-analyzer": "^4.6.0",
"@vitejs/plugin-react": "4.0.0",
"@vitejs/plugin-react": "3.1.0",
"@vitejs/plugin-react-swc": "3.3.1",
"autoprefixer": "^10.4.13",
"babel-loader": "8.3.0",
Expand Down Expand Up @@ -104,7 +104,7 @@
"terser-webpack-plugin": "5.3.8",
"thread-loader": "3.0.4",
"url": "^0.11.0",
"vite": "4.3.9",
"vite": "4.1.4",
"webpack": "5.82.1",
"webpack-bundle-analyzer": "4.8.0",
"webpack-dev-server": "4.15.0",
Expand Down
Loading

1 comment on commit 064bb2f

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for merchant-center-application-kit ready!

✅ Preview
https://merchant-center-application-n1xwqg2pf-commercetools.vercel.app

Built with commit 064bb2f.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.