|
11 | 11 | "homepage": "https://github.com/angularclass/angular2-webpack-starter", |
12 | 12 | "license": "MIT", |
13 | 13 | "scripts": { |
14 | | - "build:aot:prod": "npm run clean:dist && npm run clean:aot && npm run ngc && webpack --config config/webpack.prod.js --progress --profile --bail", |
| 14 | + "build:aot:prod": "npm run clean:dist && npm run clean:aot && npm run ngc -- --webpack config/webpack.prod.js && webpack --config config/webpack.prod.js --progress --profile --bail", |
15 | 15 | "build:aot": "npm run build:aot:prod", |
16 | 16 | "build:dev": "npm run clean:dist && webpack --config config/webpack.dev.js --progress --profile", |
17 | 17 | "build:docker": "npm run build:prod && docker build -t angular2-webpack-start:latest .", |
|
36 | 36 | "github-deploy:prod": "webpack --config config/webpack.github-deploy.js --progress --profile --env.githubProd", |
37 | 37 | "github-deploy": "npm run github-deploy:dev", |
38 | 38 | "lint": "npm run tslint \"src/**/*.ts\"", |
39 | | - "ngc": "./node_modules/.bin/ngc -p tsconfig.webpack.json", |
| 39 | + "ngc": "./node_modules/.bin/ngc-w -p tsconfig.webpack.json", |
40 | 40 | "postversion": "git push && git push --tags", |
41 | 41 | "prebuild:dev": "npm run clean:dist", |
42 | 42 | "prebuild:prod": "npm run clean:dist", |
|
120 | 120 | "karma-remap-coverage": "^0.1.1", |
121 | 121 | "karma-sourcemap-loader": "^0.3.7", |
122 | 122 | "karma-webpack": "1.8.0", |
| 123 | + "ngc-webpack": "^1.0.1", |
123 | 124 | "npm-run-all": "^3.1.2", |
124 | 125 | "parse5": "^2.2.2", |
125 | 126 | "protractor": "^4.0.10", |
|
0 commit comments