feat(smartpdf): replace internal Express server with @push.rocks/smartserve, add PDF→WebP rendering, improve start/stop handling and bump dependencies
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
// native
|
||||
import * as http from 'http';
|
||||
import * as path from 'path';
|
||||
|
||||
export { http, path };
|
||||
export { path };
|
||||
|
||||
// @pushrocks
|
||||
import * as smartbuffer from '@push.rocks/smartbuffer';
|
||||
@@ -12,6 +11,7 @@ import * as smartpromise from '@push.rocks/smartpromise';
|
||||
import * as smartpath from '@push.rocks/smartpath';
|
||||
import * as smartpuppeteer from '@push.rocks/smartpuppeteer';
|
||||
import * as smartnetwork from '@push.rocks/smartnetwork';
|
||||
import * as smartserve from '@push.rocks/smartserve';
|
||||
import * as smartunique from '@push.rocks/smartunique';
|
||||
import * as smartjimp from '@push.rocks/smartjimp';
|
||||
|
||||
@@ -24,6 +24,7 @@ export {
|
||||
smartpuppeteer,
|
||||
smartunique,
|
||||
smartnetwork,
|
||||
smartserve,
|
||||
smartjimp,
|
||||
};
|
||||
|
||||
@@ -33,8 +34,7 @@ import * as tsclass from '@tsclass/tsclass';
|
||||
export { tsclass };
|
||||
|
||||
// thirdparty
|
||||
import express from 'express';
|
||||
import pdf2json from 'pdf2json';
|
||||
import pdfLib from 'pdf-lib';
|
||||
|
||||
export { express, pdf2json, pdfLib, };
|
||||
export { pdf2json, pdfLib };
|
||||
|
||||
Reference in New Issue
Block a user