lib/utils.js
function parseHotUpdateChunkName(name) {
    const matcher = /^(.+)\.(.+)\.hot-update/gm;
    const matches = matcher.exec(name);
    return {
        name: matches[1] || "",
        hash: matches[2] || "",
    };
}
function parseHotUpdateChunkName(name) {
    const matcher = /^(.+)\.(.+)\.hot-update/gm;
    const matches = matcher.exec(name);
    return {
        name: matches[1] || "",
        hash: matches[2] || "",
    };
}
function parseHotUpdateChunkName ( name ) { const matcher = / ^(.+)\.(.+)\.hot-update / gm ; const matches = matcher . exec ( name ) ; return { name : matches [ 1 ] || "" , hash : matches [ 2 ] || "" , } ; }
Parse the filename of the hot update chunk.
@param name bundle.deccb264c01d6d42416c.hot-update.js
@returns { name: string, hash: string } { name: 'bundle', hash: 'deccb264c01d6d42416c' }
Parse the filename of the hot update chunk .