Skip to content

nzick/angular-webpack-seed

 
 

Repository files navigation

Angular Webpack Seed


Angular Webpack Seed and built-in express server with server side prerendering using renderModuleFactory().

It uses @ngtools/webpack lib which provides full AoT support, also incremential builds for development purposes.

This seed also includes SASS/SCSS support.

Development

Start development builds and webpack-dev-server using JiT

npm start

Development builds with AoT

npm run start:aot

Server Side builds

npm run build:server

Watch Mode

npm run dev # wait to finish

npm run watch # watch on ./dist/server.js

Production

Build both client and server side bundles and get ready for production (AoT)

npm run build:prod

Start the server

npm run server # or node ./dist/server.js

Licence

MIT

About

Angular Webpack Seed by Bleenco

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 49.8%
  • JavaScript 47.3%
  • HTML 2.7%
  • CSS 0.2%