onCompilation(compilation, params)
    {
        const normalModuleFactory = params.normalModuleFactory;

        compilation.dependencyFactories.set(SingleEntryDependency, normalModuleFactory);
    }
/**
     * Called by webpack when compilation object is created.
     *
     * @param {object} compilation - The webpack compilation object.
     * @param {object} params - Params to the compilation creation?
     */
Called by webpack when compilation object is created.
@param {object} compilation - The webpack compilation object.
Called by webpack when compilation object is created . @param { object } compilation - The webpack compilation object .
onCompilation(compilation, params)
    {
        const normalModuleFactory = params.normalModuleFactory;
        compilation.dependencyFactories.set(SingleEntryDependency, normalModuleFactory);
    }
onCompilation ( compilation , params ) { const normalModuleFactory = params . normalModuleFactory ; compilation . dependencyFactories . set ( SingleEntryDependency , normalModuleFactory ) ; }
Called by webpack when compilation object is created.
Called by webpack when compilation object is created .