mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-23 00:33:32 +01:00
aa6520daac
* Added frontend development files/environment * More items-categories related removals * Improvements in pages templates (inc. static pages) * Improvements in video player * Added empty home page message + cta * Updates in media, playlist and management pages * Improvements in material icons font loading * Replaced media & playlists links in frontend dev-env * frontend package version update * chnaged frontend dev url port * static files update * Changed default position of theme switcher * enabled frontend docker container
32 lines
1.1 KiB
JavaScript
Executable File
32 lines
1.1 KiB
JavaScript
Executable File
const path = require('path');
|
|
|
|
const rootDir = '..';
|
|
const srcDir = rootDir + '/src';
|
|
const configDir = srcDir + '/templates/config';
|
|
const coreConfigDir = configDir + '/core';
|
|
const installConfigDir = configDir + '/installation';
|
|
|
|
module.exports = {
|
|
src: path.resolve(__dirname, srcDir),
|
|
build: path.resolve(__dirname, rootDir),
|
|
html: require('./mediacms.config.html.js'),
|
|
pages: require('./mediacms.config.pages.js'),
|
|
window: {
|
|
MediaCMS: {
|
|
api: require(coreConfigDir + '/api.config.js'),
|
|
url: require(coreConfigDir + '/url.config.js'),
|
|
user: require(coreConfigDir + '/user.config.js'),
|
|
site: require(installConfigDir + '/site.config.js'),
|
|
pages: require(installConfigDir + '/pages.config.js'),
|
|
contents: require(installConfigDir + '/contents.config.js'),
|
|
features: require(installConfigDir + '/features.config.js'),
|
|
/*notifications: [
|
|
'Message one text',
|
|
'Message two text',
|
|
'Message three text'
|
|
],*/
|
|
},
|
|
},
|
|
postcssConfigFile: path.resolve(__dirname, './postcss.config.js'),
|
|
};
|