Skip to content

Rewrite builded Ace file

Compare
Choose a tag to compare
@Julien-R44 Julien-R44 released this 29 Jan 12:57

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.

Commits

  • test: fix wrong test assertion adcc145
  • refactor: rewrite builded ace file (#67) a2801ff
  • chore: update dependencies fa322d7

v7.1.0...v7.1.1