// Packages
import webpack = require('webpack')

// Ours
import { CompilerOptions } from './types/options'
import { merge } from './config'

const core = (options: CompilerOptions): webpack.Compiler => {
  return webpack(merge(options))
}

export { core }

// Packages
import webpack = require('webpack')

// Ours
import { CompilerOptions } from './types/options'
import { merge } from './config'

const prepare = (options: CompilerOptions): webpack.Compiler => {
  return webpack(merge(options))
}

export { prepare }

Rename exported function 'core' to 'prepare'
refactor(lib): Rename exported function 'core' to 'prepare'

BREAKING CHANGE: Rename exported function `core` to `prepare`
