build: Enable optimizations in production
Enables build optimizations and --aot to take advantage of smaller bundle sizes
resulting in a 10.63% smaller bundle size. This should be noticeable to users with slower connections
(to get the analysis just build the application by passing --stats-json
flag and then run npx webpack-bundle-analyzer dist/stats.json
)
Closes #293 (closed)