I'm using angular V17 with esbuild, and I have to execute a script (or a JS function) before each angular compilation(that means that if I use ng watch
, the script should run every time a file is modified).
How can I implement this?
I'm using angular V17 with esbuild, and I have to execute a script (or a JS function) before each angular compilation(that means that if I use ng watch
, the script should run every time a file is modified).
How can I implement this?
Here is a link to the official esbuild documentation where you find how to do it.