We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17895aa commit dec4f79Copy full SHA for dec4f79
src/packageTransformation.ts
@@ -82,7 +82,7 @@ export function process(packageObj: any): any {
82
}
83
})
84
85
- if (packageObj?.dependencies && packageObj?.dependencies['element-ui']) {
+ if (packageObj?.dependencies?.hasOwnProperty('element-ui')) {
86
delete packageObj.dependencies['element-ui']
87
packageObj.dependencies['element-plus'] = '^1.0.2-beta.55'
88
0 commit comments