journal.pl/ijl.config.js

33 lines
667 B
JavaScript
Raw Normal View History

2022-11-27 16:34:37 +03:00
const pkg = require('./package')
module.exports = {
2024-04-09 21:25:36 +03:00
apiPath: 'stubs/api',
webpackConfig: {
output: {
publicPath: `/static/${pkg.name}/${process.env.VERSION || pkg.version}/`,
2022-11-27 16:34:37 +03:00
},
2024-04-09 21:25:36 +03:00
},
navigations: {
'journal.main': '/journal.pl',
},
features: {
journal: {
// add your features here in the format [featureName]: { value: string }
'lesson.bar': {
on: true,
value: '',
key: 'lesson.bar',
},
'group.by.date': {
on: true,
value: '',
key: 'group.by.date',
},
2022-11-27 16:34:37 +03:00
},
2024-04-09 21:25:36 +03:00
},
config: {
'journal.back.url': '/api',
'journal.polling-interval': '10000',
},
2022-11-27 16:34:37 +03:00
}