rick-and-morty/ijl.config.js

25 lines
582 B
JavaScript
Raw Normal View History

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