Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function createVanillaConfig (configSetters) {
assert.arrayOfFunc(configSetters, '1st param passed to createConfig.vanilla() must be an array of functions.')
return core.createConfig({ webpack, webpackVersion }, [ createEmptyConfig ].concat(configSetters))
}
function createConfig(configSetters) {
return core.createConfig({ webpack, webpackVersion }, [createEmptyConfig].concat(configSetters))
}
function createConfig (configSetters) {
assert.arrayOfFunc(configSetters, '1st param passed to createConfig() must be an array of functions.')
return core.createConfig({ webpack, webpackVersion }, [ createBaseConfig ].concat(configSetters))
}