From aa02cf215796ac2247e74d59b495a8fe596a65d7 Mon Sep 17 00:00:00 2001 From: Jason Miller Date: Tue, 17 Apr 2018 15:34:17 -0400 Subject: [PATCH] Add firebase hosting --- .firebaserc | 5 +++++ firebase.json | 16 ++++++++++++++++ src/index.html | 1 + 3 files changed, 22 insertions(+) create mode 100644 .firebaserc create mode 100644 firebase.json diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 00000000..ab4e4ca6 --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "squoosh-beta" + } +} diff --git a/firebase.json b/firebase.json new file mode 100644 index 00000000..340ed5b7 --- /dev/null +++ b/firebase.json @@ -0,0 +1,16 @@ +{ + "hosting": { + "public": "build", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] + } +} diff --git a/src/index.html b/src/index.html index d8af6770..6741b9ed 100644 --- a/src/index.html +++ b/src/index.html @@ -3,6 +3,7 @@ Squoosh +