Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a bug occuring when outputPaths is undefined
When *outputPaths* is `undefined`, *outputPaths* is happened to an `array` resulting in an error at 44:42 > Cannot read property 'replace' of undefined I chosed to use the bundle name with html extension as default path. Empty string will be considered as undefined. I could have done: ``` this.outputPaths = Array.isArray(outputPaths) ? outputPaths : ['string' === typeof outputPaths ? outputPaths : renderSrc + '.html'] ``` but it seemed unjustified.
- Loading branch information