webpack config as function code example Example: webpack config example npm install --save-dev webpack-dev-server