How to use the @webpack-blocks/core.createConfig function in @webpack-blocks/core

To help you get started, we’ve selected a few @webpack-blocks/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github andywer / webpack-blocks / packages / webpack2 / index.js View on Github external
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))
}
github andywer / webpack-blocks / packages / webpack / index.js View on Github external
function createConfig(configSetters) {
  return core.createConfig({ webpack, webpackVersion }, [createEmptyConfig].concat(configSetters))
}
github andywer / webpack-blocks / packages / webpack2 / index.js View on Github external
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))
}

@webpack-blocks/core

Functional approach to compose your webpack config.

MIT
Latest version published 5 years ago

Package Health Score

64 / 100
Full package analysis