download
raw
505 Bytes
'use strict';
/**
* Codec for webpack generated bootstrap code.
* @type {{name:string, decode:function, abstract:boolean}}
*/
module.exports = {
name : 'webpackBootstrap',
decode : decode,
abstract: true
};
/**
* Validate the given uri (abstract).
* @this {{options: object}} A loader or compilation
* @param {string} uri A source uri to decode
* @returns {boolean|string} False where unmatched else True
*/
function decode(uri) {
return /^webpack\/bootstrap\s+\w{20}$/.test(uri);
}

Xet Storage Details

Size:
505 Bytes
·
Xet hash:
b73ea62cd73ba892bac1da79d02187e3a2aaf36e65c52bdc8f416223e07c8e59

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.