1.0.9 • Published 7 years ago
angular-cli-alias v1.0.9
Angular CLI Alias
A little helper utility to allow setting max_old_space_size on the node process that runs the angular cli.
Usage
- Add a config option to your project's package.json:
{
"config": {
"max_old_space_size": 3072
}
}- Change all references in your npm scripts from
ngtong-alias - Ensure that
setup-ng-aliasruns before you try to runng-alias. i.e. with aprebuildscript:
{
"scripts": {
"prebuild": "setup-ng-alias",
"build": "ng-alias build --prod"
}
}Cross platform
This script has been tested on Windows and Unix environments.