startmenuitems debug
This commit is contained in:
26
globalize.js
Normal file
26
globalize.js
Normal file
@@ -0,0 +1,26 @@
|
||||
const { dirname } = require('path');
|
||||
const { File: HotReload } = require(`./src/services/hotReload.js`);
|
||||
const path = require('path');
|
||||
|
||||
const root = dirname(require.main.filename);
|
||||
const localPath = {
|
||||
root: root,
|
||||
plugins: `${root}/plugins`,
|
||||
public: `${root}/public`,
|
||||
source: `${root}/src`
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
localPath,
|
||||
cache: {
|
||||
startMenuItems: [],
|
||||
},
|
||||
runtimeFile: {
|
||||
package: new HotReload(path.join(localPath.source, 'package.json')),
|
||||
releaseNotes: new HotReload(path.join(localPath.source, 'models', 'releasenotes.json')),
|
||||
configuration: new HotReload(path.join(localPath.source, 'models', 'configuration.json')),
|
||||
stylesheet: new HotReload(path.join(localPath.source, 'models', 'stylesheet.json')),
|
||||
indexRoutes: new HotReload(path.join(localPath.source, 'routes', 'indexRoutes.js'), { historyLimit: 50, fileType: 'js' }),
|
||||
startMenuItems: new HotReload(path.join(localPath.source, 'models', 'integratedStartMenuItems.json'))
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user