function ensureRelative(outputDir, p) {
    if (path.isAbsolute(p)) {
        return path.relative(outputDir, p);
    } else {
        return p;
    }
}
function ensureRelative(outputDir, p) {
    if (path.isAbsolute(p)) {
        return path.relative(outputDir, p);
    } else {
        return p;
    }
}
function ensureRelative ( outputDir , p ) { if ( path . isAbsolute ( p ) ) { return path . relative ( outputDir , p ) ; } else { return p ; } }
ensure the filename passed to html-webpack-plugin is a relative path because it cannot correctly handle absolute paths
ensure the filename passed to html - webpack - plugin is a relative path because it cannot correctly handle absolute paths
Ensure p is relative to outputDir