From 1c967f1b9bc6df61709079bfda3f2cef9e9f134f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Fri, 16 Mar 2018 19:37:56 +0000 Subject: [PATCH] feat(bundle): remove brok dependency --- bundle/package.json | 1 - bundle/src/index.js | 7 ------- 2 files changed, 8 deletions(-) diff --git a/bundle/package.json b/bundle/package.json index b78e7627..ac325efd 100644 --- a/bundle/package.json +++ b/bundle/package.json @@ -16,7 +16,6 @@ "test:ci": "echo 0" }, "dependencies": { - "brok": "^2.0.0", "brule": "^3.1.0", "cloudapi-gql": "^7.1.1", "hapi": "^17.2.0", diff --git a/bundle/src/index.js b/bundle/src/index.js index 9dde2c3c..db4ca7e8 100644 --- a/bundle/src/index.js +++ b/bundle/src/index.js @@ -3,7 +3,6 @@ const Brule = require('brule'); const Hapi = require('hapi'); const Rollover = require('rollover'); -const Brok = require('brok'); const { homedir } = require('os'); const { join } = require('path'); @@ -30,9 +29,6 @@ const Ui = require('my-joy-instances'); // const Images = require('my-joy-images'); const server = Hapi.server({ - compression: { - minBytes: 1 - }, debug: { request: ['error'] }, @@ -42,9 +38,6 @@ const server = Hapi.server({ async function main() { await server.register([ - { - plugin: Brok - }, { plugin: Rollover, options: {