A minimal Angular 4.x webpack setup Install dependencies Run npm install Run To start a webserver with source maps do: npm start Testing npm run test Create production bundle npm run build