It would be great to have a way to run different npm scripts depending on the current build environment (development or production) after building the project.
I'm working on a project where I use Webpack to bundle some Javascript and CSS dependencies, but I have to run different scripts for each environment.
Current behavior
Currently, it's not possible to bind different npm commands to run when using "Bindings" > "After Build" depending on the build environment.
Expected behavior
It would be good to have an option to configure which commands should run for different build environments.
Installed product versions
Description
It would be great to have a way to run different npm scripts depending on the current build environment (development or production) after building the project.
I'm working on a project where I use Webpack to bundle some Javascript and CSS dependencies, but I have to run different scripts for each environment.
Current behavior
Currently, it's not possible to bind different npm commands to run when using "Bindings" > "After Build" depending on the build environment.
Expected behavior
It would be good to have an option to configure which commands should run for different build environments.