antwarjs / antwar

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

Support theme Webpack configuration #13

Closed bebraw closed 9 years ago

bebraw commented 9 years ago

A theme should be able to declare its Webpack dependencies and export related configuration through its entry point. Example:

module.exports = {
    Nav: require('./Nav),
    ...
    configuration: {} // webpack configuration should go here
};