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.
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
npm run dev # wait to finish
npm run watch # watch on ./dist/server.js
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
MIT