I would like to know if there is a way to configure the scripts section of the angular.json file depending on the environment.
I would like to include a specific script(Myscript.js) only when I'm in the production environment.
"scripts": [
"./node_modules/jquery/dist/jquery.min.js",
"./node_modules/slick-carousel/slick/slick.min.js",
"./src/assets/scripts/Myscript.js"
]
I don't find anything in the doc about that. Is it possible?