mirror of
https://github.com/pure-css/pure
synced 2024-12-25 05:23:43 +01:00
fix: use pure from static folder
This commit is contained in:
parent
da2b34a95c
commit
285b4e3620
@ -4,8 +4,8 @@ const gzip = require('gzip-size');
|
||||
const path = require('path');
|
||||
const { version } = require('../../package.json');
|
||||
|
||||
const pureDir = path.resolve(__dirname, '..', '..', 'build');
|
||||
const pureMin = fs.readFileSync(path.resolve(__dirname, '..', '..', 'build', 'pure-min.css'), 'utf-8');
|
||||
const pureDir = path.resolve(__dirname, '..', 'static', 'css', 'pure');
|
||||
const pureMin = fs.readFileSync(path.resolve(pureDir, 'pure-min.css'), 'utf-8');
|
||||
|
||||
// use pure-min.css to determine site integrity hash
|
||||
const sriHash = crypto.createHash('sha384').update(pureMin, 'utf8').digest('base64');
|
||||
|
Loading…
Reference in New Issue
Block a user