fix rolldown fs import
DreamingCodes committed
Mar 23, 2025 at 11:26 UTC
5843f2d827dfb2f721f5220d88e86ead8d39beeb
2 files changed
+2
-2
bun.lockb
Binary files a/bun.lockb and b/bun.lockb differ
rolldown.config.js
+2
-2
@@ -1,8 +1,8 @@
1
-import { defineConfig } from 'rolldown'
1
+import { readFileSync } from "node:fs";
2
import { join } from "node:path";
3
import { cwd } from "node:process";
4
import typescript from "@rollup/plugin-typescript";
5
-import {readFileSync} from "fs"
5
+import { defineConfig } from "rolldown";
6
7
const pkg = JSON.parse(readFileSync(join(cwd(), "package.json"), "utf8"));
8