Commit a50e440c authored by Craig Mulligan's avatar Craig Mulligan Committed by Tim Neutkens

Pass conf to export function (#2962)

* Pass conf to export function

* conf -> configuration
parent 531d0a30
......@@ -9,9 +9,9 @@ import { renderToHTML } from './render'
import { getAvailableChunks } from './utils'
import { printAndExit } from '../lib/utils'
export default async function (dir, options) {
export default async function (dir, options, configuration) {
dir = resolve(dir)
const config = getConfig(dir)
const config = configuration || getConfig(dir)
const nextDir = join(dir, config.distDir)
log(` using build directory: ${nextDir}`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment