🏛️ Corifeus Builder Angular


Keywords
corifeus, builder, angular2, angular, aot, jit, p3x, typescript
License
MIT
Install
npm install corifeus-builder-angular@2019.10.343

Documentation

Donate for Corifeus / P3X Contact Corifeus / P3X Corifeus @ Facebook Build Status Uptime Robot ratio (30 days)

NPM

🏛️ Corifeus Builder Angular v2019.10.395

Bugs are evident™ - MATRIX️

Node Version Requirement

>=10.16.0 

Built on Node

v12.13.0

The async and await keywords are required.

Install NodeJs:
https://nodejs.org/en/download/package-manager/

Built on Angular

8.2.12

Description

See Skeleton files.

The Angular TypeScript builder (extra packages), it is something like @angular/cli, I wrote it, back in the time, when there was no @angular/cli, only Webpack. Since then, I have been using this builder, but is not usable for anyone else, just for me.

I do not use @angular/cli. It gives perfect freedom for Angular systems.

It includes required packages for building (SCSS / TypeScript / CSS / JSON).

Tasks

See tasks.

The corifeus-builder using it as a composite.

Linked NPM

Just delete the node_modules directories from the linked modules.

Options

--cory-run-aot          - for running it uses AOT instead of AOT
--cory-loader-off       - disable loader 
--cory-verbose          - disable uglify
--cory-webpack-target   - set the webpack target type (web, electron)

Increase speed download

Use gzip (like 2.5MB vs 600KB).

Modules undefined

Need to use exact classes for export instead of
export * from './something',
so use
export { Something } form './something'

Example pages

https://pages.corifeus.com
https://material.corifeus.com

Tree shaking

  • Always use exact import (instead of export * etc...)
  • Typescript @Types often load everything, sometimes exact require is smaller bundle, only pure TypeScript can do it or ES2015 programs
  • Externals might be good: https://webpack.js.org/guides/author-libraries/ (external)
  • For pure JavaScript, types are bigger when they load everything, require for exact functions is better

🙏 This is an open-source project. Star this repository, if you like it, or even donate to maintain the servers and the development. Thank you so much!

Possible, this server, rarely, is down, please, hang on for 15-30 minutes and the server will be back up.

All my domains (patrikx3.com and corifeus.com) could have minor errors, since I am developing in my free time. However, it is usually stable.

Note about versioning: Versions are cut in Major.Minor.Patch schema. Major is always the current year. Minor is either 4 (January - June) or 10 (July - December). Patch is incremental by every build. If there is a breaking change, it should be noted in the readme.


CORIFEUS-BUILDER-ANGULAR Build v2019.10.395

Donate for Corifeus / P3X Contact Corifeus / P3X Like Corifeus @ Facebook

P3X Sponsors

IntelliJ - The most intelligent Java IDE

JetBrains NoSQLBooster

The Smartest IDE for MongoDB