webpack 4 how to get name of package.json code example Example: webpack config example npm install --save-dev webpack-dev-server