global-esb-build-helper
v1.0.7
Published
ESB BUILDER HELPER =========
Downloads
13
Readme
ESB BUILDER HELPER
For after ng build , move js/js.map to libs folder and modify index.html
Installation
npm install global-esb-build-helper
Usage
package.json
script{
build": "ng build && global-esb-build-helper"
}
global-esb-build-helper會讀取angular.json中如下欄位(defaultProject/baseHref/deployUrl/outputPath)
"projects": {
"xxx": {
"root": "",
"sourceRoot": "./",
"projectType": "application",
"prefix": "",
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"baseHref": "/xxx/",
"deployUrl": "/xxx/",
"outputPath": "../../xxx_gateway/target/xxx",
...
defaultProject: "xxx"