Files
site/scripts/config.js
2024-03-24 21:29:27 +01:00

22 lines
504 B
JavaScript

const { resolve, join } = require('path')
const hostname = 'https://ti-nuage.fr'
const projectRoot = resolve(__dirname, '..')
const distribution = join(projectRoot, 'dist')
module.exports = {
hostname,
paths: {
projectRoot,
talksRoot: process.env.PATH_TALKS,
/* Nodes */
leaflet: join(projectRoot, 'node_modules', 'leaflet', 'dist'),
/* Metalsmith */
metalsmithSource: 'content',
metalsmithDestination: distribution,
/* Server */
serverRoot: distribution
}
}