mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
chore: use import attributes instead of import assertions
This commit is contained in:
parent
f85edef386
commit
7754ea3691
3 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
import fs from "node:fs";
|
||||
import { globSync } from "tinyglobby";
|
||||
import { sveld } from "sveld";
|
||||
import pkg from "../package.json" assert { type: "json" };
|
||||
import pkg from "../package.json" with { type: "json" };
|
||||
|
||||
sveld({
|
||||
glob: true,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// @ts-check
|
||||
import fs from "node:fs";
|
||||
import componentApi from "../docs/src/COMPONENT_API.json" assert { type: "json" };
|
||||
import componentApi from "../docs/src/COMPONENT_API.json" with { type: "json" };
|
||||
import { format } from "prettier";
|
||||
import plugin from "prettier/plugins/typescript";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue