BuilderIO/mitosis

Specify the path to `mitosis build`

ayangweb opened this issue · 1 comments

I am interested in helping provide a feature!

Yes

Which generators are impacted?

  • All
  • Angular
  • HTML
  • Qwik
  • React
  • React-Native
  • Solid
  • Stencil
  • Svelte
  • Vue
  • Web components

What problem does this feature solve?

I want to execute different files in different build commands.

"build:a": "pnpm exec mitosis build",
"build:b": "pnpm exec mitosis build mitosis.config.b.js",

What does the proposed API look like?

"build:a": "pnpm exec mitosis build",
"build:b": "pnpm exec mitosis build mitosis.config.b.js",

Additional Information

No response

I implemented it using process.argv for listening first, I don't know if there is another way?