feat(bundle): remove brok dependency
This commit is contained in:
parent
e95168bbf0
commit
1c967f1b9b
@ -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",
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user