dry-wash-pl/bro.config.js
ilnaz dee3a04310
Some checks failed
it-academy/dry-wash-pl/pipeline/pr-main There was a failure building this commit
it-academy/dry-wash-pl/pipeline/head There was a failure building this commit
feat: add dynamic routing (#25)
2024-11-24 14:50:51 +03:00

30 lines
788 B
JavaScript

/* 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: {
'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',
'dry-wash.arm': '/arm/*',
},
features: {
'dry-wash-pl': {
// add your features here in the format [featureName]: { value: string }
},
},
config: {
'dry-wash-pl.api': '/api',
},
};