We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab990cc commit 36b090cCopy full SHA for 36b090c
index.js
@@ -26,6 +26,7 @@ module.exports = function(opts) {
26
try {
27
const val = String((manifest[str] && manifest[str][prop]) || str);
28
if (prop === 'path') return opts.prepend + val;
29
+ if (prop === 'integrity') val === str ? val : false;
30
output = PROD ? val : false;
31
} catch (err) {}
32
0 commit comments