Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept a function in "files[n].webpackConfig" #7

Closed
swashata opened this issue Oct 19, 2018 · 0 comments
Closed

Accept a function in "files[n].webpackConfig" #7

swashata opened this issue Oct 19, 2018 · 0 comments

Comments

@swashata
Copy link
Owner

We can accept a function with following call signature in files[n].webpackConfig

(config:webpack.Configuration, merge: merge) => webpack.Configuration

It will pass the calculated configuration from system and would expect a modified configuration from userland.

swashata added a commit that referenced this issue Oct 19, 2018
Using a function and passing existing config to webpackConfig opens
many possibilities than just using webpackMerge out of the box.

See #7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant