Load version from package.json
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
parent
11a5dd0eb4
commit
583aa4f462
1 changed files with 3 additions and 1 deletions
|
@ -13,8 +13,10 @@ const debugConfig = {
|
||||||
debug: (env === Environment.development)
|
debug: (env === Environment.development)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const {version} = require(path.join(appRootPath, 'package.json'))
|
||||||
|
|
||||||
const packageConfig = {
|
const packageConfig = {
|
||||||
version: '1.0.0-ce',
|
version: version,
|
||||||
minimumCompatibleVersion: '0.5.0'
|
minimumCompatibleVersion: '0.5.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue