1
mirror of https://github.com/pure-css/pure synced 2024-11-22 05:32:20 +01:00

fix: encoding value to match spec

This commit is contained in:
Seth Bertalotto 2021-01-09 21:05:56 -08:00 committed by GitHub
parent a34fe62bad
commit c3799b5274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ const path = require('path');
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');
const pureMin = fs.readFileSync(path.resolve(pureDir, 'pure-min.css'), 'utf8');
// use pure-min.css to determine site integrity hash
const sriHash = crypto.createHash('sha384').update(pureMin, 'utf8').digest('base64');