21 lines
450 B
JavaScript
21 lines
450 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,
|
|
/* Nodes */
|
|
nodeModules: join(projectRoot, 'node_modules'),
|
|
/* Metalsmith */
|
|
metalsmithSource: 'content',
|
|
metalsmithDestination: distribution,
|
|
/* Server */
|
|
serverRoot: distribution
|
|
}
|
|
}
|