Skip to content

Commit 8952a20

Browse files
committed
chore: upgrade Vite to v4
1 parent 12808da commit 8952a20

File tree

3 files changed

+328
-358
lines changed

3 files changed

+328
-358
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
# Demonstration of using [SweetAlert2](https://sweetalert2.github.io/) with [Vite](https://vitejs.dev/)
22

33

4-
#### index.js:
5-
```js
6-
import Swal from 'sweetalert2'
7-
8-
Swal.fire('Hi from vite!')
4+
#### Dev:
5+
```sh
6+
yarn dev
97
```
108

119
#### Build:
1210
```sh
13-
$ yarn build
11+
yarn build
1412
```
1513

1614
---

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
"devDependencies": {
1717
"@types/react": "^18.0.0",
1818
"@types/react-dom": "^18.0.0",
19-
"@vitejs/plugin-react": "^2.0.0",
19+
"@vitejs/plugin-react": "^3.0.0",
2020
"sass": "^1.49.8",
2121
"typescript": "^4.5.4",
22-
"vite": "^3.0.0"
22+
"vite": "^4.0.0"
2323
}
2424
}

0 commit comments

Comments
 (0)