|
|
@@ -68,7 +68,7 @@ module.exports = defineConfig({
|
|
|
// const manifest = JSON.parse(manifestContents)
|
|
|
// console.log(manifest)
|
|
|
|
|
|
- if (process.env.NODE_ENV === 'production') {
|
|
|
+ if (process.env.NODE_ENV === 'production' && !process.argv.includes('test')) {
|
|
|
const configPath = oem ? convertPath(oem + 'config/appconfig.json') : convertPath('public/config/appconfig.json')
|
|
|
const cfgContents = fs.readFileSync(configPath, 'utf-8')
|
|
|
const cfg = JSON.parse(cfgContents)
|