package: migrate to ES modules

This commit is contained in:
2024-07-16 21:20:46 +08:00
parent 67728beefe
commit bac9f8be6d
13 changed files with 30 additions and 24 deletions

View File

@@ -1,8 +1,8 @@
import path from "path";
import { GeneralVariable, LLVMVariable, command, variable } from "lyc/commands/cmake";
import { projectRoot } from "lyc/environment";
import { PackagePlatform, PackageTask } from "./build";
import { promisifySpawn } from "lyc/cli";
import { GeneralVariable, LLVMVariable, command, variable } from "../commands/cmake.js";
import { projectRoot } from "../environment/index.js";
import { PackagePlatform, PackageTask } from "./build.js";
import { promisifySpawn } from "../cli.js";
import os from "os";
import { SpawnOptions, spawn } from "child_process";