Skip to content

Commit 5d97d42

Browse files
authored
fix aur build (anomalyco#4359)
1 parent 83b490d commit 5d97d42

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/opencode/script/build.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env bun
22

3-
import solidPlugin from "../node_modules/@opentui/solid/scripts/solid-plugin"
43
import path from "path"
54
import fs from "fs"
65
import { $ } from "bun"
@@ -10,6 +9,9 @@ const __filename = fileURLToPath(import.meta.url)
109
const __dirname = path.dirname(__filename)
1110
const dir = path.resolve(__dirname, "..")
1211

12+
const solidPluginPath = path.resolve(dir, "node_modules/@opentui/solid/scripts/solid-plugin.ts")
13+
const solidPlugin = (await import(solidPluginPath)).default
14+
1315
process.chdir(dir)
1416

1517
import pkg from "../package.json"

0 commit comments

Comments
 (0)