Keep single-tag rollback on the legacy worker path
This commit is contained in:
@@ -27,6 +27,8 @@ export function stampIndex(source, files, { hashing = true, buildTag = '__BUILD_
|
||||
}
|
||||
|
||||
export function createAssetManifest(publicDir = './public', { hashing = true, buildTag: override, assetSync = true } = {}) {
|
||||
// Single-tag URLs cannot be verified against per-file URL hashes.
|
||||
assetSync = hashing && assetSync;
|
||||
const bytes = new Map();
|
||||
const legacy = createHash('sha256');
|
||||
function walk(dir, prefix = '') {
|
||||
|
||||
Reference in New Issue
Block a user