Unless you have very, very good reasons, consider using @angular/cli
in order to bootstrap, manage, and work with your Angular projects.
If you need a specialized setup, you may export
a Webpack configuration using @angular/cli
and go ahead from there.
This is a proof-of-concept application based on the Tour of Heroes Angular tutorial that uses webpack as module bundler and a tool for bundling the application.
npm install
npm test # Runs the unit tests
npm start # Starts the development server
npm run build # Runs the production build
- Basic prod/dev webpack setup
- Implement tutorial Tour of Heroes
- Incorporate unit testing with Karma and Jasmine
- Incorporate end-to-end testing with Protractor