Skip to content

Commit

Permalink
Upgrade vite to version 5
Browse files Browse the repository at this point in the history
  • Loading branch information
trapcodeio committed Nov 16, 2023
1 parent 61c37ac commit acbb3f3
Show file tree
Hide file tree
Showing 4 changed files with 255 additions and 212 deletions.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Plugin, ResolvedConfig, UserConfig} from "vite";
import {Plugin, ResolvedConfig} from "vite";
import ejs from "ejs";

// ShortHand for EjsOptions or Undefined
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/ejs": "^3.1.1",
"typescript": "^4.9.3",
"vite": "^3.2.4"
"@types/ejs": "^3.1.5",
"typescript": "^5.2.2",
"vite": "^5.0.0"
},
"dependencies": {
"ejs": "^3.1.8"
"ejs": "^3.1.9"
},
"peerDependencies": {
"vite": ">=5.0.0"
},
"keywords": [
"vite",
Expand Down
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Use [ejs](https://www.npmjs.com/package/ejs) template language in your entrypoint i.e `index.html`

**Note:** For Vite version < `5` use [`v1.6.4`](https://www.npmjs.com/package/vite-plugin-ejs/v/1.6.4) of this plugin.

## Menu

- [Installation](#installation)
Expand Down
Loading

0 comments on commit acbb3f3

Please sign in to comment.