Skip to content

Conversation

@grahamb
Copy link
Contributor

@grahamb grahamb commented Aug 29, 2016

Webpack 2 supports webpack configuration files that export a function (see https://webpack.github.io/docs/roadmap.html). This commit adds support for this by testing if the requireed config is a function, and if so, executing it.

Webpack 2 supports webpack configuration files that export a function (see https://webpack.github.io/docs/roadmap.html). This commit adds support for this by testing if the `require`ed config is a function, and if so, executing it.
@coveralls
Copy link

coveralls commented Aug 29, 2016

Coverage Status

Coverage remained the same at 97.729% when pulling 896f984 on grahamb:allow-webpack-func into 8da6a5a on benmosher:master.

@benmosher benmosher merged commit 896f984 into import-js:master Sep 13, 2016
@benmosher
Copy link
Member

Published with Webpack resolver v0.6.0 😎

thanks for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants