Skip to content

Commit

Permalink
- Moved scss files from stylesheets to styles directory
Browse files Browse the repository at this point in the history
- Updated angular.json
- Removed ionicons as they weren't used
  • Loading branch information
robbdimitrov committed Jan 1, 2019
1 parent 14d5b1e commit 757e43f
Show file tree
Hide file tree
Showing 29 changed files with 2,963 additions and 3,387 deletions.
63 changes: 25 additions & 38 deletions frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,42 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"pixelgram-app": {
"pixelgram": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "pg",
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/assets",
"src/favicon.ico"
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/stylesheets/main.scss"
"src/styles/main.scss"
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
Expand All @@ -36,10 +48,11 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
"budgets": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
}
Expand All @@ -48,35 +61,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "pixelgram-app:build"
"browserTarget": "pixelgram:build"
},
"configurations": {
"production": {
"browserTarget": "pixelgram-app:build:production"
"browserTarget": "pixelgram:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "pixelgram-app:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"karmaConfig": "./karma.conf.js",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"scripts": [],
"styles": [
"src/stylesheets/main.scss"
],
"assets": [
"src/assets",
"src/favicon.ico"
]
"browserTarget": "pixelgram:build"
}
},
"lint": {
Expand All @@ -94,14 +90,5 @@
}
}
},
"defaultProject": "pixelgram-app",
"schematics": {
"@schematics/angular:component": {
"prefix": "pg",
"styleext": "scss"
},
"@schematics/angular:directive": {
"prefix": "pg"
}
}
"defaultProject": "pixelgram"
}
Loading

0 comments on commit 757e43f

Please sign in to comment.