dry-wash-pl/bro.config.js

30 lines
786 B
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',
'dry-wash.create': '/order',
'dry-wash.view.order': '/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: {
2024-11-24 14:50:51 +03:00
'dry-wash-pl': {
2024-10-19 12:07:17 +03:00
// add your features here in the format [featureName]: { value: string }
},
},
config: {
2024-11-24 14:50:51 +03:00
'dry-wash-pl.api': '/api',
2024-10-19 12:07:17 +03:00
},
};