diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..21eb4e5 --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "pq-man" + } +} diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..cc5a338 --- /dev/null +++ b/firebase.json @@ -0,0 +1,17 @@ +{ + "hosting": { + "predeploy": "npm run build-prod", + "public": "dist/PQ-Man", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] + } +} diff --git a/package.json b/package.json index f01aee0..f02ff03 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "ng": "ng", "start": "ng serve", "build": "ng build", + "build-prod": "ng build --prod --buildOptimizer", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" diff --git a/src/app/app.component.less b/src/app/app.component.less index 9fb75d8..ef31583 100644 --- a/src/app/app.component.less +++ b/src/app/app.component.less @@ -55,6 +55,7 @@ .search-button { border-left: 1px solid @border-color; padding: 0 10px; + cursor: pointer; .material-icons { font-size: 30px;