mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
build(components): fix generateExternal use wrong reference (#12180)
This commit is contained in:
parent
4a9397dd7e
commit
682553a27e
@ -6,7 +6,7 @@ export const generateExternal = async (options: { full: boolean }) => {
|
||||
const { dependencies, peerDependencies } = getPackageDependencies(epPackage)
|
||||
|
||||
return (id: string) => {
|
||||
const packages: string[] = peerDependencies
|
||||
const packages: string[] = [...peerDependencies]
|
||||
if (!options.full) {
|
||||
packages.push('@vue', ...dependencies)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user