|
|
@ -266,9 +266,8 @@ export function deepClone(source) {
|
|
|
|
return targetObj
|
|
|
|
return targetObj
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// get dependencies verison from package.json by webpack.DefinePlugin
|
|
|
|
// get dependencies verison from package.json
|
|
|
|
export function getVersion(name) {
|
|
|
|
export function getVersion(name) {
|
|
|
|
import('../../package').then(p => {
|
|
|
|
const p = require('../../package')
|
|
|
|
return p.dependencies[name]
|
|
|
|
return p.dependencies[name]
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|