25 lines
650 B
JavaScript
25 lines
650 B
JavaScript
// eslint-disable-next-line @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: {
|
|
'sberhubproject.main': '/sberhubproject',
|
|
'sberhubproject.signup': '/sberhubproject/signup',
|
|
},
|
|
features: {
|
|
'sberhubproject': {
|
|
// add your features here in the format [featureName]: { value: string }
|
|
}
|
|
},
|
|
config: {
|
|
'sberhubproject.api': '/api'
|
|
}
|
|
};
|