mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
build(scripts): convert to ESM
This commit is contained in:
parent
9234119d7b
commit
4881ff7ffd
3 changed files with 48 additions and 49 deletions
|
@ -1,7 +1,8 @@
|
|||
const fs = require("node:fs");
|
||||
const { globSync }= require("tinyglobby");
|
||||
const { sveld } = require("sveld");
|
||||
const pkg = require("../package.json");
|
||||
// @ts-check
|
||||
import fs from "node:fs";
|
||||
import { globSync } from "tinyglobby";
|
||||
import { sveld } from "sveld";
|
||||
import pkg from "../package.json" assert { type: "json" };
|
||||
|
||||
sveld({
|
||||
glob: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue