nav2/bro.config.js

26 lines
612 B
JavaScript
Raw Normal View History

2024-10-22 21:29:29 +03:00
/* eslint-disable no-undef */
/* eslint-disable @typescript-eslint/no-require-imports */
const pkg = require('./package')
module.exports = {
apiPath: 'stubs/api',
webpackConfig: {
output: {
publicPath: `/static/${pkg.name}/${process.env.VERSION || pkg.version}/`
}
},
/* use https://admin.bro-js.ru/ to create config, navigations and features */
navigations: {
'nav2.main': '/nav2',
2024-11-07 18:00:47 +03:00
'link.nav2.by': '/by/:userId',
2024-10-22 21:29:29 +03:00
},
features: {
'nav2': {
// add your features here in the format [featureName]: { value: string }
},
},
config: {
'nav2.api': '/api'
}
}