Back to Truffle

`@truffle/external-compile`

packages/external-compile/README.md

5.11.5429 B
Original Source

@truffle/external-compile

Package to enable Truffle to run arbitrary commands as part of compilation.

Configuration

In your Truffle config (truffle-config.js):

javascript
module.exports = {
  compilers: {
    external: {
      command: "<compilation-command>",
      targets: [{
        path: "<relative/globbed/path/to/outputs/*.output>",
        command: "<artifact-generation-command>"
      }]
    }
  }
}