Closed stevenvachon closed 5 years ago
Webpack configs can also be a function, for passing in data from the CLI. This API would be useful for passing from Karma as well.
See:
Switching behaviours, such as development/production modes for different build options.
Actually, I think that I figured out how to achieve this:
webpack: require('./webpack.config')(env, argv)
Feature Proposal
Webpack configs can also be a function, for passing in data from the CLI. This API would be useful for passing from Karma as well.
See:
Feature Use Case
Switching behaviours, such as development/production modes for different build options.