chore: use import attributes instead of import assertions

This commit is contained in:
Eric Liu 2025-04-18 10:25:13 -07:00
commit 7754ea3691
3 changed files with 4 additions and 4 deletions

View file

@ -4,8 +4,8 @@ import { parse, walk } from "svelte/compiler";
import slug from "remark-slug";
import visit from "unist-util-visit";
import { format } from "prettier";
import pkg from "../package.json" assert { type: "json" };
import component_api from "./src/COMPONENT_API.json" assert { type: "json" };
import pkg from "../package.json" with { type: "json" };
import component_api from "./src/COMPONENT_API.json" with { type: "json" };
import fs from "node:fs";
import Prism from "prismjs";
import "prism-svelte";