Skip to content

Commit

Permalink
feat!: update to vite 5
Browse files Browse the repository at this point in the history
  • Loading branch information
georgwittberger committed Aug 18, 2024
1 parent f67a9dc commit 8d9a7a8
Show file tree
Hide file tree
Showing 3 changed files with 1,815 additions and 2,010 deletions.
9 changes: 9 additions & 0 deletions .changeset/fair-rabbits-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'vite-plugin-entrypoints': major
---

Update to Vite 5

This major version updates the development dependency Vite to version 5. From now on the plugin is only tested with Vite 5 or higher.

Please make sure to update your project to use an appropriate version of Vite.
29 changes: 18 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,36 @@
"README.md"
],
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
},
"scripts": {
"check": "tsc",
"build": "tsup src/index.ts --format esm,cjs --sourcemap --dts",
"publish": "changeset publish",
"test:build": "vite build tests"
},
"dependencies": {
"glob": "^10.3.3"
"glob": "^11.0.0"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@tsconfig/node18": "^18.2.0",
"@changesets/cli": "^2.27.7",
"@tsconfig/node18": "^18.2.4",
"@types/node": "^18.17.3",
"prettier": "^3.0.1",
"tsup": "^7.2.0",
"typescript": "^5.1.6",
"vite": "^4.4.12"
"prettier": "^3.3.3",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"vite": "^5.4.1"
},
"engines": {
"node": ">=18",
"pnpm": ">=7"
"pnpm": ">=9"
}
}
Loading

0 comments on commit 8d9a7a8

Please sign in to comment.