rick-and-morty/ijl.config.js
2024-05-18 13:26:01 +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"
},
};