onMake(compilation, done)
    {
        const dep = new SingleEntryDependency(this.outputFile);

        dep.loc = 'main';

        compilation.addEntry(compilation.compiler.context, dep, 'main', done);
    }
/**
     * Called by webpack when compilation begins the make process.
     *
     * @param {object} compilation - The webpack compilation object.
     * @param {function} done - Callback to call when complete.
     */
Called by webpack when compilation begins the make process.
@param {object} compilation - The webpack compilation object.
@param {function} done - Callback to call when complete.
Called by webpack when compilation begins the make process . @param { object } compilation - The webpack compilation object . @param { function } done - Callback to call when complete .
onMake(compilation, done)
    {
        const dep = new SingleEntryDependency(this.outputFile);
        dep.loc = 'main';
        compilation.addEntry(compilation.compiler.context, dep, 'main', done);
    }
onMake ( compilation , done ) { const dep = new SingleEntryDependency ( this . outputFile ) ; dep . loc = 'main' ; compilation . addEntry ( compilation . compiler . context , dep , 'main' , done ) ; }
Called by webpack when compilation begins the make process.
Called by webpack when compilation begins the make process .