Rewrite builded Ace file
During the build process, we now rewrite from-scratch the ace.js
file included in the build
folder so as to remove all references to ts-node
. That way, you can now run node ace my-command
in your build project without having to install ts-node
.
See this issue that explains the problem : adonisjs/core#4361
Warning
Any modifications to the ace.js
file will be lost during the build process since the file is rewritten from scratch. If you want to have any additional code that runs before Ace starts, you should instead do it inside the bin/console.ts
file.