Skip to content

Commit

Permalink
chore(deps): update dependency vite to v5 (#2674)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency vite to v5

* fix(visual-testing-app): fix unsupported syntax in new vite major version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Carlos Cortizas <[email protected]>
  • Loading branch information
renovate[bot] and CarlosCortizasCT authored May 9, 2024
1 parent af7d140 commit 8e7cffc
Show file tree
Hide file tree
Showing 3 changed files with 289 additions and 118 deletions.
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(
'../../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

0 comments on commit 8e7cffc

Please sign in to comment.