Skip to content

Commit

Permalink
fix(compat): list cjs dependencies for compat build
Browse files Browse the repository at this point in the history
Previously the cjs build implicitly relies on hoisted versions of the
deps, causing it to resolve to newer versions of estree-walker when
present.

fix #6602
  • Loading branch information
yyx990803 committed Sep 28, 2022
1 parent f402d41 commit 96cd924
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/vue-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
"url": "https://github.com/vuejs/core/issues"
},
"homepage": "https://github.com/vuejs/core/tree/main/packages/vue-compat#readme",
"dependencies": {
"@babel/parser": "^7.16.4",
"estree-walker": "^2.0.2",
"source-map": "^0.6.1"
},
"peerDependencies": {
"vue": "3.2.39"
}
Expand Down
11 changes: 9 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 96cd924

Please sign in to comment.