Moon enforce use bun when the task command start with bun #1927
-
Currently, in our project, we use pnpm for package manager, But with some special applications, we want to use tasks:
build:
command: "react-router build"
dev:
command: "bunx --bun vite" I tried this way --> can work, but feel quite hacky/workaround. dev:
command: "pnpm bun --bun vite" Note:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
@harrytran998 Is bun enabled in the toolchain? https://moonrepo.dev/docs/guides/javascript/bun-handbook#enabling-the-language With that said, having bun and pnpm both install dependencies in the same project is very problematic, as node_modules will collide. |
Beta Was this translation helpful? Give feedback.
pipeline
andrunner
are the same thing, just aliases. Merge them together.Also the toolchain is
node
notpnpm
.