h13i32maru · GitHub

Conversation

@raveclassic

Copy link Copy Markdown

Contributor

Hi!
I suggest 'requiring' esdoc configuration via nodejs instead of manually parsing like it is done in webpack. This provides opportunity to specify some values in config dinamically, do some processing etc.
For example I have 'includes' and 'excludes' values configured in my build system, and i want these values imported to esdoc config.
This change does not break current json-format configurations as nodejs supports 'requiring' json out of the box as well as commonjs.

@h13i32maru

Copy link Copy Markdown

Member

h13i32maru added a commit that referenced this pull request

Sep 5, 2015
allow commonjs as configs

@h13i32maru

2 participants

@raveclassic @h13i32maru

Read the original on github.com ↗