@hyperframes/producer 0.8.174 → 0.8.175
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/distributed.js
CHANGED
|
@@ -3115,7 +3115,7 @@ async function embedLocalFontFaces(html, projectDir) {
|
|
|
3115
3115
|
embeddedPaths.add(localPath);
|
|
3116
3116
|
continue;
|
|
3117
3117
|
}
|
|
3118
|
-
dataUri = await toDataUri(font.buffer, ext);
|
|
3118
|
+
dataUri = await toDataUri(font.buffer, ext, { compressToWoff2: false });
|
|
3119
3119
|
dataUriByAbsolutePath.set(absPath, dataUri);
|
|
3120
3120
|
defaultLogger.info(
|
|
3121
3121
|
`[Compiler] Embedded local font file: ${localPath} (${(font.buffer.length / 1024).toFixed(0)} KB \u2192 data URI)`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "0.1.0",
|
|
3
3
|
"buildId": "dev",
|
|
4
|
-
"sha256": "
|
|
4
|
+
"sha256": "231daa3aea863ffab8c1794254a07a9cfb36cbd599b0c8c7d4cb05a96818299b",
|
|
5
5
|
"artifacts": {
|
|
6
6
|
"iife": "hyperframe.runtime.iife.js",
|
|
7
7
|
"esm": "hyperframe.runtime.mjs"
|