nuxt-og-image 2.0.0-beta.0 → 2.0.0-beta.1
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/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -504,7 +504,7 @@ export async function useProvider(provider) {
|
|
|
504
504
|
}
|
|
505
505
|
const generateTimeMS = Date.now() - start;
|
|
506
506
|
nitro.logger.log(chalk[hasError ? "red" : "gray"](
|
|
507
|
-
` ${Number(k) === screenshotQueue.length - 1 ? "\u2514\u2500" : "\u251C\u2500"}
|
|
507
|
+
` ${Number(k) === screenshotQueue.length - 1 ? "\u2514\u2500" : "\u251C\u2500"} /${relative(nitro.options.output.publicDir, filename)} (${generateTimeMS}ms) ${Math.round((Number(k) + 1) / screenshotQueue.length * 100)}%`
|
|
508
508
|
));
|
|
509
509
|
}
|
|
510
510
|
} else {
|
|
@@ -9,6 +9,7 @@ import emojis from "./plugins/emojis.mjs";
|
|
|
9
9
|
import encoding from "./plugins/encoding.mjs";
|
|
10
10
|
import loadSvg2png from "#nuxt-og-image/svg2png";
|
|
11
11
|
import loadSatori from "#nuxt-og-image/satori";
|
|
12
|
+
import { useRuntimeConfig } from "#internal/nitro";
|
|
12
13
|
const satoriFonts = [];
|
|
13
14
|
let fontLoadPromise = null;
|
|
14
15
|
function loadFonts(fonts) {
|