1 | const config = require('../config')
|
2 | const paths = config.paths
|
3 | const maraConf = require(paths.marauder);
|
4 | const entry = require('../libs/entry').entry;
|
5 | module.exports = function(command, webpackConfig) {
|
6 | if (maraConf.webpackPluginsHandler) {
|
7 | webpackConfig.plugins = maraConf.webpackPluginsHandler(command, webpackConfig.plugins, config, entry);
|
8 | }
|
9 | return webpackConfig;
|
10 | };
|