From db929bd61a99fae56c87872142b867910fb19d1b Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Tue, 25 Oct 2016 15:42:39 -0700 Subject: [PATCH] chore: fix firebase dev instance --- firebase.json | 49 ++++++++++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/firebase.json b/firebase.json index 48d40be158b7..c9467c51676e 100644 --- a/firebase.json +++ b/firebase.json @@ -1,23 +1,30 @@ { - "firebase": "material2-test", - "public": "dist", - "ignore": [ - "firebase.json", - "**/.*", - "**/node_modules/**", - "tmp", - "deploy", - "typings" - ], - "headers": [{ - "source": "*", - "headers": [{ - "key": "Cache-Control", - "value": "no-cache" - }] - }], - "rewrites": [{ - "source": "/**/!(*.@(js|ts|html|css|json|svg|png|jpg|jpeg))", - "destination": "/index.html" - }] + "hosting": { + "public": "dist", + "rewrites": [ + { + "source": "/**/!(*.@(js|ts|html|css|json|svg|png|jpg|jpeg))", + "destination": "/index.html" + } + ], + "headers": [ + { + "source": "*", + "headers": [ + { + "key": "Cache-Control", + "value": "no-cache" + } + ] + } + ], + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**", + "tmp", + "deploy", + "typings" + ] + } }