mirror of
https://github.com/pure-css/pure.git
synced 2024-12-10 23:44:26 +00:00
fix: remove debugging logs
This commit is contained in:
parent
ca9be473e2
commit
83f79cdc4b
@ -6,12 +6,9 @@ const { version } = require('../../package.json');
|
|||||||
|
|
||||||
const pureDir = path.resolve(__dirname, '..', 'static', 'css', 'pure');
|
const pureDir = path.resolve(__dirname, '..', 'static', 'css', 'pure');
|
||||||
const pureMin = fs.readFileSync(path.resolve(pureDir, 'pure-min.css'), 'utf-8');
|
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
|
// use pure-min.css to determine site integrity hash
|
||||||
const sriHash = crypto.createHash('sha384').update(pureMin, 'utf8').digest('base64');
|
const sriHash = crypto.createHash('sha384').update(pureMin, 'utf8').digest('base64');
|
||||||
console.log('sriHash', sriHash);
|
|
||||||
|
|
||||||
// copy/pastable code snippet for users
|
// 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">`;
|
module.exports.PURE_DOWNLOAD_SNIPPET = `<link rel="stylesheet" href="https://unpkg.com/purecss@${version}/build/pure-min.css" integrity="sha384-${sriHash}" crossorigin="anonymous">`;
|
||||||
|
Loading…
Reference in New Issue
Block a user