One of my npm scripts looks like this:
"scripts": {
"start": "webpack-dev-server --inline --config build/webpack.myconfig.js"
}
I want to be able to run the command with a different configuration file name instead of "myconfig", like this:
npm run start myOtherConfig
Is there a way to dynamically replace "myconfig" with another value in the script?