2020-11-30 06:28:29 -06:00
|
|
|
// 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');
|
|
|
|
|
2020-12-02 19:10:34 -06:00
|
|
|
const configOfConfigs = require(`${__dirname}/.neutrinorc`);
|
|
|
|
const configs = Array.isArray(configOfConfigs) ? configOfConfigs : [configOfConfigs];
|
|
|
|
module.exports = configs.map((config) => neutrino(config).webpack());
|