mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
build(docs): use node:
prefix [ci skip]
This commit is contained in:
parent
cc03d3c75d
commit
e23a4d1994
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
// @ts-check
|
// @ts-check
|
||||||
import fs from "fs";
|
import fs from "node:fs";
|
||||||
import path from "path";
|
import path from "node:path";
|
||||||
import githubSlugger from "github-slugger";
|
import githubSlugger from "github-slugger";
|
||||||
|
|
||||||
const { slug } = githubSlugger;
|
const { slug } = githubSlugger;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import path from "path";
|
import path from "node:path";
|
||||||
import { mdsvex } from "mdsvex";
|
import { mdsvex } from "mdsvex";
|
||||||
import { parse, walk } from "svelte/compiler";
|
import { parse, walk } from "svelte/compiler";
|
||||||
import slug from "remark-slug";
|
import slug from "remark-slug";
|
||||||
|
@ -6,7 +6,7 @@ import visit from "unist-util-visit";
|
||||||
import { format } from "prettier";
|
import { format } from "prettier";
|
||||||
import pkg from "../package.json" assert { type: "json" };
|
import pkg from "../package.json" assert { type: "json" };
|
||||||
import component_api from "./src/COMPONENT_API.json" assert { type: "json" };
|
import component_api from "./src/COMPONENT_API.json" assert { type: "json" };
|
||||||
import fs from "fs";
|
import fs from "node:fs";
|
||||||
import Prism from "prismjs";
|
import Prism from "prismjs";
|
||||||
import "prism-svelte";
|
import "prism-svelte";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue