Skip to content

Commit

Permalink
make esbuild an optional peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mrm007 committed Nov 15, 2023
1 parent c8358fd commit d1985d5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/loud-laws-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@vanilla-extract/esbuild-plugin-next': patch
'@vanilla-extract/esbuild-plugin': patch
---

Make `esbuild` an optional peer dependency
8 changes: 8 additions & 0 deletions packages/esbuild-plugin-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
"dependencies": {
"@vanilla-extract/integration": "^6.0.2"
},
"peerDependencies": {
"esbuild": ">=0.17.6"
},
"peerDependenciesMeta": {
"esbuild": {
"optional": true
}
},
"devDependencies": {
"esbuild": "0.17.6"
}
Expand Down
8 changes: 8 additions & 0 deletions packages/esbuild-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
"dependencies": {
"@vanilla-extract/integration": "^6.2.0"
},
"peerDependencies": {
"esbuild": ">=0.17.6"
},
"peerDependenciesMeta": {
"esbuild": {
"optional": true
}
},
"devDependencies": {
"esbuild": "0.17.6"
}
Expand Down

0 comments on commit d1985d5

Please sign in to comment.