Commit c204cdd9 authored by Tim Neutkens's avatar Tim Neutkens Committed by Arunoda Susiripala

Read compiler.context instead of this.context (#3839)

parent 7a28922b
......@@ -39,7 +39,7 @@ export default function onDemandEntryHandler (devMiddleware, compilers, {
const allEntries = Object.keys(entries).map((page) => {
const { name, entry } = entries[page]
entries[page].status = BUILDING
return addEntry(compilation, this.context, name, entry)
return addEntry(compilation, compiler.context, name, entry)
})
Promise.all(allEntries)
......
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