rick-and-morty/bro.config.js
Primakov Alexandr Alexandrovich 30e5281b4a ijl -> brojs
2024-11-23 15:04:50 +03:00

25 lines
590 B
JavaScript

const pkg = require("./package");
module.exports = {
apiPath: "stubs/api",
webpackConfig: {
output: {
publicPath: `/static/${pkg.name}/${process.env.VERSION || pkg.version}/`,
},
},
/* use https://kc.admin.inno-js.ru/ to create config, navigations and features */
navigations: {
"r-and-m.main": "/r-and-m",
"r-and-m.search": "/search",
"r-and-m.character.detail": "/char/:charId"
},
features: {
"r-and-m": {
// add your features here in the format [featureName]: { value: string }
},
},
config: {
"r-and-m.api": "/api"
},
};