node package manager

corifeus-builder-angular

Build Status Scrutinizer Code Quality Code Coverage

NPM

Corifeus Builder Angular - Prototype

Issues / Support

This is an open source project. Time is a precious thing, so I have rarely time to give support and fix issues for someone else. I fix a bug, when I have an error that I need. If you got an issue, error or bug, I hope someone will have time to do it for you, otherwise, you are on your own.

Though, if I know the solution, I will tell you. Besides, core errors will be fixed by me.

If you want to extend, fix bugs or add in new features, I promptly merge pull requests or you can become a patrikx3 member.

Node Version Requirement

>=7.8.0 

Built on Node

v7.10.0

The async and await keywords are required.

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

Description

See Skeleton files.

The Angular TypeScript builder (extra packages). It includes required packages for building (SCSS / TypeScript / CSS / JSON).

Works JIT, AOT and even AOT + JIT at once out of the box. You can add p3x-angular-compile to your modules to free from creating components.

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

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.corfieus.tk
https://material.coriefus.tk

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

CORIFEUS-BUILDER-ANGULAR Build v4.1.359-48

Corifeus by Patrik Laszlo