Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,20 @@
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
},
"local": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.local.ts"
}
]
}
},
"defaultConfiguration": "production"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"start": "bundle exec jekyll serve",
"test": "bundle exec htmlproofer _site --http-status-ignore '0,403'; pa11y-ci '_site/**/*.html'",
"ng": "ng",
"build:art:local": "ng build --configuration local --base-href=/art/",
"start:ang": "ng serve --configuration development",
"build:ang": "ng build --configuration dev",
"watch": "ng build --watch --configuration development",
Expand Down
17 changes: 17 additions & 0 deletions src/environments/environment.local.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.

export const environment = {
production: false,
urlPath:"/art"
};

/*
* For easier debugging in development mode, you can import the following file
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
*
* This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown.
*/
// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.