download
raw
511 Bytes
'use strict';
/**
* Codec for code generated by the Bower plugin.
* @type {{name:string, decode:function, abstract:boolean}}
*/
module.exports = {
name : 'bowerComponent',
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 /^\/?([\w-]+)\s+\(bower component\)$/.test(uri);
}

Xet Storage Details

Size:
511 Bytes
·
Xet hash:
194a40752935832df7fc90c0c61064882cd22f25585a0b1628b41d50e4311a53

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