Skip to content

Commit 60005d3

Browse files
authored
Merge pull request #686 from SISheogorath/feature/configVersion
Load version from package.json
2 parents feb89f0 + 583aa4f commit 60005d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/config/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ const debugConfig = {
1313
debug: (env === Environment.development)
1414
}
1515

16+
const {version} = require(path.join(appRootPath, 'package.json'))
17+
1618
const packageConfig = {
17-
version: '1.0.0-ce',
19+
version: version,
1820
minimumCompatibleVersion: '0.5.0'
1921
}
2022

0 commit comments

Comments
 (0)