EN VI

How to execute a script before each angular compilation (esbuild)?

2024-03-17 06:00:11
How to execute a script before each angular compilation (esbuild)

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?

Solution:

Here is a link to the official esbuild documentation where you find how to do it.

Answer

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login