Default options
These are Night Owl’s default configuration options.
The defaults are defined in night-owl/lib/config/defaults.js
. The file also contains type definitions which you can import into your own configuration.
{
"src": "src",
"dist": "dist",
"host": "0.0.0.0",
"port": 8080,
"templates": {
"include": [],
"exclude": [ "**/_*", "**/.*", "**/_*/**" ]
},
"copy": [],
"watch": [],
"watchAndRestart": [ "package.json" ],
"transform": [],
"trailingSlash": true,
"excludeHidden": true,
"clear": false,
"compilers": {
"templatejs": {
"ext": [ ".template.js", ".template.ts" ]
},
"clientjs": {
"ext": [ ".client.js", ".client.ts" ]
},
"css": {
"ext": [ ".css" ]
},
"sass": {
"ext": [ ".sass", ".scss" ]
},
"markdown": {
"ext": [ ".md" ]
},
"yaml": {
"ext": [ ".yaml", ".yml" ]
},
"json": {
"ext": [ ".json" ]
},
"pug": {
"ext": [ ".pug" ]
},
"handlebars": {
"ext": [ ".hbs", ".handlebars" ]
}
},
"stripSortPrefix": true,
"importThreshold": 9999,
"maxLayoutDepth": 10,
"tempDirectory": ".nightowl",
"logger": {
"fail": true,
"info": true,
"time": false,
"warn": true
}
}