how to add webpack confiuration to a seperate package.json code example Example: webpack config example npm install --save-dev webpack-dev-server