25 lines
590 B
JavaScript
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"
|
|
},
|
|
};
|