Experimental port to Firebase hosting

This commit is contained in:
Michael Jackson
2019-01-05 16:50:05 -08:00
parent e4d6df255e
commit 31e7d3865a
300 changed files with 129300 additions and 5817 deletions

View File

@ -1,4 +1,4 @@
function bufferStream(stream) {
export default function bufferStream(stream) {
return new Promise((resolve, reject) => {
const chunks = [];
@ -8,5 +8,3 @@ function bufferStream(stream) {
.on('end', () => resolve(Buffer.concat(chunks)));
});
}
module.exports = bufferStream;