use .js extension when importing toReactElement.js

This commit is contained in:
Jason
2023-06-10 04:11:50 -04:00
committed by GitHub
parent d23469aa45
commit 5c06ad7a74

View File

@@ -1,6 +1,6 @@
import satori, { type SatoriOptions } from 'satori';
import type { SvelteComponent } from 'svelte';
import toReactElement from './toReactElement';
import toReactElement from './toReactElement.js';
import { svg2png, initialize, type ConvertOptions } from 'svg2png-wasm';
let initialized = false;