front/bro.config.js

28 lines
737 B
JavaScript
Raw Normal View History

2024-09-20 15:05:14 +03:00
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: {
2024-09-20 16:10:14 +03:00
'enterfront.main': '/enterfront',
'enterfront.home': '/enterfront/home',
'enterfront.auth': '/enterfront/auth',
'enterfront.reg': '/enterfront/reg',
'enterfront.account': '/enterfront/account',
'enterfront.chat': '/enterfront/chat',
2024-09-20 15:05:14 +03:00
},
features: {
"enterfront": {
// add your features here in the format [featureName]: { value: string }
},
},
config: {
"enterfront.api": "/api",
},
};