This commit is contained in:
MapleLeaf
2022-01-09 03:02:57 -06:00
parent 56e7acf922
commit 41bbb5efe3
2 changed files with 4 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ import { join, parse } from "node:path"
import React from "react"
import { renderToStaticMarkup } from "react-dom/server"
import ssrPrepass from "react-ssr-prepass"
import { Promisable } from "type-fest"
import type { Promisable } from "type-fest"
import { ensureWrite, normalizeAsFilePath } from "../helpers/filesystem.js"
import { AssetBuilderProvider } from "./asset-builder-context.js"

View File

@@ -1,7 +1,8 @@
import React, { ReactNode } from "react"
import type { ReactNode } from "react";
import React from "react"
import { normalizeAsFilePath } from "../helpers/filesystem.js"
import { useAssetBuilder } from "./asset-builder-context.js"
import { AssetBuilder, AssetTransformer } from "./asset-builder.js"
import type { AssetBuilder, AssetTransformer } from "./asset-builder.js"
type AssetState =
| { status: "building"; promise: Promise<unknown> }