Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency vite to v5 #2674

Merged
merged 2 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion visual-testing-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
},
"devDependencies": {
"@vitejs/plugin-react": "4.2.1",
"vite": "4.5.3"
"vite": "5.2.11"
}
}
8 changes: 4 additions & 4 deletions visual-testing-app/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import './globals.css';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
import { ThemeProvider } from '@commercetools-uikit/design-system';

const pkgComponentsModules = import.meta.globEager(
'../../packages/**/*.visualroute.jsx'
const pkgComponentsModules = import.meta.glob(
Copy link
Contributor

Choose a reason for hiding this comment

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

globEager does not exist anymore.

'../../packages/**/*.visualroute.jsx', { eager: true }
);
const designSystemComponentsModules = import.meta.globEager(
'../../design-system/**/*.visualroute.jsx'
const designSystemComponentsModules = import.meta.glob(
'../../design-system/**/*.visualroute.jsx', { eager: true }
);

const allUniqueRouteComponents = Object.values({
Expand Down
Loading
Loading