Execution of an addon at the end of build process


#1

Am trying to develop an ember add-on which needs to be operated after the ember build process has completed and its output file needs to be modified. How can I create an add-on which will be executed at the end to build process? Also I need to access the build output files. How can I access those files? It would be appreciated if the documents relating to the same is shared.

FYI, the kind of operation that the addon would do is find and replace some texts (like variable names)


#2

Try look another addon that do what you want. Some addon execute the blueprints


#3

Also see https://ember-cli.com/api/classes/Addon.html#method_postBuild

Example :