build: improve fileInclude plugin

This commit is contained in:
Vendicated 2024-05-26 19:12:18 +02:00
parent c836270320
commit 9ec671819d
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
8 changed files with 218 additions and 19 deletions

View file

@ -21,8 +21,7 @@ import "./shiki.css";
import { enableStyle } from "@api/Styles";
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
import previewExampleText from "~fileContent/previewExample.tsx";
import previewExampleText from "file://previewExample.tsx";
import { shiki } from "./api/shiki";
import { createHighlighter } from "./components/Highlighter";