cli 调整paths文件,oak-general-business 根据环境引入src或lib
This commit is contained in:
parent
99754f0bee
commit
06f74a233b
|
|
@ -66,7 +66,8 @@ module.exports = {
|
|||
appRootPath: resolveRoot('.'),
|
||||
oakConfigJson: resolveApp('src/oak.config.json'),
|
||||
oakGeneralBusinessAppPath: resolveRoot(
|
||||
'node_modules/oak-general-business/lib'
|
||||
'node_modules/oak-general-business/' +
|
||||
(process.env.NODE_ENV !== 'production' ? 'src' : 'lib')
|
||||
),
|
||||
oakAppDomainAppPath: resolveRoot('src/oak-app-domain'),
|
||||
};
|
||||
|
|
|
|||
|
|
@ -98,7 +98,8 @@ module.exports = {
|
|||
appRootPath: resolveRoot('.'),
|
||||
oakConfigJson: resolveApp('src/oak.config.json'),
|
||||
oakGeneralBusinessAppPath: resolveRoot(
|
||||
'node_modules/oak-general-business/lib'
|
||||
'node_modules/oak-general-business/' +
|
||||
(process.env.NODE_ENV !== 'production' ? 'src' : 'lib')
|
||||
),
|
||||
oakAppDomainAppPath: resolveRoot('src/oak-app-domain'),
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue