Sha256: 52dd7758151a752301dd3d6ff2d426fb38dc3ce80de9750ba8b0b52830924775
Contents?: true
Size: 505 Bytes
Versions: 4
Compression:
Stored size: 505 Bytes
Contents
'use strict'; /** * Codec for webpack generated bootstrap code. * @type {{name:string, decode:function, abstract:boolean}} */ module.exports = { name : 'webpack-bootstrap', 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); }
Version data entries
4 entries across 4 versions & 2 rubygems