2020-12-01 15:36:02 -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 16:34:52 -06:00
|
|
|
const configOfConfigs = require(`${__dirname}/.neutrinorc`);
|
|
|
|
const configs = Array.isArray(configOfConfigs) ? configOfConfigs : [configOfConfigs];
|
|
|
|
module.exports = configs.map((config) => neutrino(config).webpack());
|