webpack-shell-plugin icon indicating copy to clipboard operation
webpack-shell-plugin copied to clipboard

Disable Option

Open rejtg21 opened this issue 8 years ago • 0 comments

Is there a way to disable a command? I tried to look in the src code and I think this was not handle. I was thinking of this for example

onBuildExit: [
    {
        run: 'php echo test',
        disable: (ENV != test)
    },
    {
        ...
    }
]

not only for onBuildExit but also on other builds.

rejtg21 avatar Oct 12 '17 01:10 rejtg21