9 lines
515 B
JavaScript
9 lines
515 B
JavaScript
// Whilst the configuration object can be modified here, the recommended way of making
|
|
// changes is via the presets' options or Neutrino's API in `.neutrinorc.js` instead.
|
|
// Neutrino's inspect feature can be used to view/export the generated configuration.
|
|
const neutrino = require('neutrino');
|
|
|
|
const configOfConfigs = require(`${__dirname}/.neutrinorc`);
|
|
const configs = Array.isArray(configOfConfigs) ? configOfConfigs : [configOfConfigs];
|
|
module.exports = configs.map((config) => neutrino(config).webpack());
|