diff --git a/config/package/webpack.config.js b/config/package/webpack.config.js index 54d98e8..94d2585 100644 --- a/config/package/webpack.config.js +++ b/config/package/webpack.config.js @@ -3,4 +3,6 @@ // Neutrino's inspect feature can be used to view/export the generated configuration. const neutrino = require('neutrino'); -module.exports = neutrino(require(`${__dirname}/.neutrinorc`)).webpack(); +const configOfConfigs = require(`${__dirname}/.neutrinorc`); +const configs = Array.isArray(configOfConfigs) ? configOfConfigs : [configOfConfigs]; +module.exports = configs.map((config) => neutrino(config).webpack());