antwarjs / antwar

A static site generator built with React and Webpack.
https://antwar.js.org/
MIT License
460 stars 35 forks source link

Document configuration #15

Closed bebraw closed 9 years ago

bebraw commented 9 years ago

Defaults to antwar.config.js at project root (modeled after Webpack convention).

Example:

module.exports = {
    theme: 'antwar-default-theme', // point to theme by its NPM name
    output: 'build', // where to output
    ... // add custom properties as needed (available at templates)
};
bebraw commented 9 years ago

Done. https://github.com/antwarjs/antwar/wiki/Config .