dry-wash-pl/bro.config.js

40 lines
1.0 KiB
JavaScript
Raw Normal View History

2024-11-03 12:23:47 +03:00
/* eslint-disable no-undef */
/* eslint-disable @typescript-eslint/no-require-imports */
2024-11-24 14:50:51 +03:00
const pkg = require('./package');
2024-10-19 12:07:17 +03:00
module.exports = {
2024-11-24 14:50:51 +03:00
apiPath: 'stubs/api',
2024-10-19 12:07:17 +03:00
webpackConfig: {
output: {
publicPath: `/static/${pkg.name}/${process.env.VERSION || pkg.version}/`,
},
},
/* use https://admin.bro-js.ru/ to create config, navigations and features */
navigations: {
2024-11-24 14:50:51 +03:00
'dry-wash.main': '/dry-wash',
2024-12-08 09:54:17 +03:00
'dry-wash.order.create': '/order',
'dry-wash.order.view': '/order/:orderId',
'dry-wash.arm.master': 'master',
'dry-wash.arm.order': 'order',
2024-11-24 14:50:51 +03:00
'dry-wash.arm': '/arm/*',
2024-10-19 12:07:17 +03:00
},
features: {
2025-02-16 11:45:42 +03:00
'dry-wash': {
2024-10-19 12:07:17 +03:00
// add your features here in the format [featureName]: { value: string }
2025-02-23 12:08:50 +03:00
"order-view-status-polling": {
"on": true,
"value": "3000",
"key": "order-view-status-polling"
},
"car-img-upload": {
"on": true,
"value": "true",
"key": "car-img-upload"
}
2024-10-19 12:07:17 +03:00
},
},
config: {
2024-12-07 23:40:22 +03:00
'dry-wash.api': '/api',
2024-10-19 12:07:17 +03:00
},
};