Description
My company is in the process of spiking React Native builds using Re.pack. As part of exposing this to product devs we want to provide a custom TypeScript CLI which includes custom entry point resolution among other things. For example:
const argv = yargs
.option('entry', {
type: 'string',
demandOption: true,
description: 'Path to the entry .ts/.tsx file',
})
.option('platform', {
type: 'string',
demandOption: true,
choices: ['ios', 'android'] as const,
description: 'Target platform',
})
// ...
Currently Re.pack doesn't provide a programatic API for starting the dev server and passing it a POJO config object. We would love if it did! (similar to what Rspack and Webpack provide).
Suggested solution
No response
Additional context
No response
Description
My company is in the process of spiking React Native builds using Re.pack. As part of exposing this to product devs we want to provide a custom TypeScript CLI which includes custom entry point resolution among other things. For example:
Currently Re.pack doesn't provide a programatic API for starting the dev server and passing it a POJO config object. We would love if it did! (similar to what Rspack and Webpack provide).
Suggested solution
No response
Additional context
No response