Import initial.
This commit is contained in:
20
scripts/config.js
Normal file
20
scripts/config.js
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user