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 vuejs#6602
  • Loading branch information
yyx990803 authored and chrislone committed Feb 4, 2023
1 parent 214244e commit 4b2bc0d
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
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 4b2bc0d

Please sign in to comment.