feat(bundle): remove brok dependency
This commit is contained in:
parent
e95168bbf0
commit
1c967f1b9b
@ -16,7 +16,6 @@
|
|||||||
"test:ci": "echo 0"
|
"test:ci": "echo 0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"brok": "^2.0.0",
|
|
||||||
"brule": "^3.1.0",
|
"brule": "^3.1.0",
|
||||||
"cloudapi-gql": "^7.1.1",
|
"cloudapi-gql": "^7.1.1",
|
||||||
"hapi": "^17.2.0",
|
"hapi": "^17.2.0",
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
const Brule = require('brule');
|
const Brule = require('brule');
|
||||||
const Hapi = require('hapi');
|
const Hapi = require('hapi');
|
||||||
const Rollover = require('rollover');
|
const Rollover = require('rollover');
|
||||||
const Brok = require('brok');
|
|
||||||
const { homedir } = require('os');
|
const { homedir } = require('os');
|
||||||
const { join } = require('path');
|
const { join } = require('path');
|
||||||
|
|
||||||
@ -30,9 +29,6 @@ const Ui = require('my-joy-instances');
|
|||||||
// const Images = require('my-joy-images');
|
// const Images = require('my-joy-images');
|
||||||
|
|
||||||
const server = Hapi.server({
|
const server = Hapi.server({
|
||||||
compression: {
|
|
||||||
minBytes: 1
|
|
||||||
},
|
|
||||||
debug: {
|
debug: {
|
||||||
request: ['error']
|
request: ['error']
|
||||||
},
|
},
|
||||||
@ -42,9 +38,6 @@ const server = Hapi.server({
|
|||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
await server.register([
|
await server.register([
|
||||||
{
|
|
||||||
plugin: Brok
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
plugin: Rollover,
|
plugin: Rollover,
|
||||||
options: {
|
options: {
|
||||||
|
Loading…
Reference in New Issue
Block a user