Call bundler before sending construct command to subprocess
Why? :thinking:
Legacy apps were not bundled during packaging, but this structure makes dealing with the package much harder on the Deno subprocess.
So now we bundle apps that need it before sending the package to the subprocess.
Links :earth_americas:
PS :eyes:
We couldn't use the bundler from the @rocket.chat/apps-compiler package due to the different expectations it deals with, so we just adapted the code to this specific case
What? :boat:
Why? :thinking:
Legacy apps were not bundled during packaging, but this structure makes dealing with the package much harder on the Deno subprocess.
So now we bundle apps that need it before sending the package to the subprocess.
Links :earth_americas:
PS :eyes:
We couldn't use the bundler from the @rocket.chat/apps-compiler package due to the different expectations it deals with, so we just adapted the code to this specific case