diff options
| author | Aiden Cline <[email protected]> | 2025-11-15 18:16:19 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-15 20:16:19 -0600 |
| commit | 6527a123f0375eae6e141901195707df88f28411 (patch) | |
| tree | 64786ceb04d59973f99cd0d7676d022d770c0657 /packages | |
| parent | 0377cfd37c20bef41c57c62370709facee8fc449 (diff) | |
| download | opencode-6527a123f0375eae6e141901195707df88f28411.tar.gz opencode-6527a123f0375eae6e141901195707df88f28411.zip | |
fix aur build (#4359)
Diffstat (limited to 'packages')
| -rwxr-xr-x | packages/opencode/script/build.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/opencode/script/build.ts b/packages/opencode/script/build.ts index 502baed02..2e3c4ee5c 100755 --- a/packages/opencode/script/build.ts +++ b/packages/opencode/script/build.ts @@ -1,6 +1,5 @@ #!/usr/bin/env bun -import solidPlugin from "../node_modules/@opentui/solid/scripts/solid-plugin" import path from "path" import fs from "fs" import { $ } from "bun" @@ -10,6 +9,9 @@ const __filename = fileURLToPath(import.meta.url) const __dirname = path.dirname(__filename) const dir = path.resolve(__dirname, "..") +const solidPluginPath = path.resolve(dir, "node_modules/@opentui/solid/scripts/solid-plugin.ts") +const solidPlugin = (await import(solidPluginPath)).default + process.chdir(dir) import pkg from "../package.json" |
