1
mirror of https://github.com/pure-css/pure synced 2024-11-26 08:27:21 +01:00

fix: remove debugging logs

This commit is contained in:
redonkulus 2020-05-11 11:31:47 -07:00
parent ca9be473e2
commit 83f79cdc4b

View File

@ -6,12 +6,9 @@ const { version } = require('../../package.json');
const pureDir = path.resolve(__dirname, '..', 'static', 'css', 'pure');
const pureMin = fs.readFileSync(path.resolve(pureDir, 'pure-min.css'), 'utf-8');
console.log('pureMin Location', path.resolve(pureDir, 'pure-min.css'));
console.log('pureMin', pureMin);
// use pure-min.css to determine site integrity hash
const sriHash = crypto.createHash('sha384').update(pureMin, 'utf8').digest('base64');
console.log('sriHash', sriHash);
// copy/pastable code snippet for users
module.exports.PURE_DOWNLOAD_SNIPPET = `<link rel="stylesheet" href="https://unpkg.com/purecss@${version}/build/pure-min.css" integrity="sha384-${sriHash}" crossorigin="anonymous">`;